Retrieve the group name, test address, and interface index by typing the following command.
# ifconfig interface |
For example, ifconfig hme0
Use the if_mpadm(1M) command as follows:
# if_mpadm -d interface |
This takes the interface offline and causes the failover addresses to be failed over to another active interface in the group. If the interface is already in a failed state, then this step simply marks and ensures that the interface is offline.
(Optional) Unplumb the interface.
This step is required only if you want to use DR to reconfigure the interface automatically at a later time.
Remove the physical interface.
Refer to the cfgadm(1M) man page and the Sun Fire 6800, 4810, 4800 and 3800 Systems Dynamic Reconfiguration User Guide for more information.
Attach the physical interface.
Refer to the cfgadm(1M) man page and the Sun Fire 6800, 4810, 4800 and 3800 Systems Dynamic Reconfiguration User Guide for more information.
After you attach the physical interface, it is automatically configured using settings in the hostname configuration file (/etc/hostname.interface, where interface is a value such as hme1 or qfe2).
This triggers the in.mpathd daemon to resume probing and detect repairs. Consequently, in.mpathd causes original IP addresses to failback to this interface. The interface should now be online and ready for use under IPMP.
If the interface had not been unplumbed and set to the OFFLINE status prior to a previous detach, then the attach operation described here would not automatically configure it. To set the interface back to the ONLINE status and failback its IP address after the physical attach is complete, enter the following command: if_mpadm -r interface