Switch the active adapter to a backup adapter so that the current active adapter can be removed from the NAFO group. The pnmd(1M) daemon moves all IP addresses hosted by the current active adapter to the new active adapter in a similar fashion as a fault-triggered adapter failover.
You can also accomplish this procedure by using the SunPlex Manager GUI. See the SunPlex Manager online help for more information.
Connections can experience a delay while the switchover is taking place. This delay can last for several minutes. Otherwise, the operation is transparent to higher-level applications.
Ensure the physical connectivity of the new active adapter is identical to that of the current active adapter.
If the new active adapter fails to host some of the IP addresses as the current active adapter, network and data services that depend on those IP addresses are interrupted until the physical connectivity is fixed or a subsequent successful failover occurs.
Become superuser on the node that contains the NAFO group whose active adapter you want to switch.
Switch the active adapter.
# pnmset -c nafo-group -o switch adapter |
Specifies the NAFO group containing the adapter to switch.
Makes the specified adapter the active adapter in the NAFO group.
Rename the /etc/hostname.adapter file for the old active adapter to reflect the new active adapter.
# mv /etc/hostname.<old_adapter> /etc/hostname.<new_adapter> |
Verify the status of the NAFO group.
The "switched-to" adapter should now appear as the active adapter.
# pnmstat -l |
The following example switches the active adapter to qfe1 from qfe0.
# pnmstat -l group adapters status fo_time act_adp nafo0 qfe0:qfe1 OK NEVER qfe0 # pnmset -c nafo0 -o switch qfe1 # mv /etc/hostname.qfe0 /etc/hostname.qfe1 # pnmstat -l group adapters status fo_time act_adp nafo0 qfe0:qfe1 OK 11 qfe1 |