Sun Cluster 3.0 12/01 System Administration Guide

5.2.4 How to Delete a NAFO Group

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.

  1. Become superuser on the node that contains the NAFO group that is being deleted.

  2. 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.

  3. Switch the logical host resource groups and shared address resource groups that use this NAFO group.


    # scswitch -z -g resource-group -h nodelist
    

    -z -g resource-group

    Switches the specified resource group.

    -h nodelist

    Specifies the name of the node to switch the resource group to.

  4. Delete the NAFO group.


    # pnmset -c nafo-group -o delete 
    

    -c nafo-group

    Specifies the NAFO group to be deleted.

    -o delete

    Deletes the NAFO group.

  5. Verify the status of the NAFO group.

    The deleted NAFO group should not appear in the listing.


    # pnmstat -l
    

5.2.4.1 Example--Deleting a NAFO Group

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