Delete a NAFO group when you do not want monitoring and failover for any adapter in the group. To be deleted, a NAFO group cannot be in use by logical host resource groups or shared address resource groups.
You can also accomplish this procedure by using the SunPlex Manager GUI. See the SunPlex Manager online help for more information.
Become superuser on the node that contains the NAFO group that is being deleted.
Identify whether the NAFO group is being used by any logical host or shared address resources.
# scrgadm -pv |
You can also use scrgadm -pvv (with two v flags) to locate the resources that are using the NAFO group you are going to delete.
Switch the logical host resource groups and shared address resource groups that use this NAFO group.
# scswitch -z -g resource-group -h nodelist |
Switches the specified resource group.
Specifies the name of the node to switch the resource group to.
Delete the NAFO group.
# pnmset -c nafo-group -o delete |
Specifies the NAFO group to be deleted.
Deletes the NAFO group.
Verify the status of the NAFO group.
The deleted NAFO group should not appear in the listing.
# pnmstat -l |
The following example shows the NAFO group named nafo1 deleted from the system. Logical host resource group lh-rg-1, which uses this NAFO group, is first switched to a different node.
# scswitch -z -g lh-rg-1 -h phys-schost-2 # pnmstat -l group adapters status fo_time act_adp nafo0 qfe0:qfe1 OK NEVER qfe0 nafo1 qfe2 OK NEVER qfe2 # pnmset -c nafo1 -o delete # pnmstat -l group adapters status fo_time act_adp nafo0 qfe0:qfe1 OK NEVER qfe0 |