Stage 1: Enabling a qeth group device for IP takeover

Ubuntu 22.04 LTS LPAR mode z/VM guest

For OSA-Express and HiperSockets CHPIDs, both the qeth group device that is to take over an IP address and the device that surrenders the address must be enabled for IP takeover.

Procedure

By default, qeth devices are not enabled for IP takeover. To enable a qeth group device for IP address takeover set the enable device group attribute to 1. To switch off the takeover capability set the enable device group attribute to 0.
In sysfs, the enable attribute is located in a subdirectory ipa_takeover. Issue a command of the form:
# echo <flag> > /sys/bus/ccwgroup/drivers/qeth/<device_bus_id>/ipa_takeover/enable

Example

In this example, a device 0.0.a500 is enabled for IP takeover:
# echo 1 > /sys/bus/ccwgroup/drivers/qeth/0.0.a500/ipa_takeover/enable