Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Remove a Node From All Device Groups

Use this procedure to remove a cluster node from all device groups that list the node in their lists of potential primaries.

The phys-schost# prompt reflects a global-cluster prompt. Perform this procedure on a global cluster.

This procedure provides the long forms of the Sun Cluster commands. Most commands also have short forms. Except for the long and short forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix B, Sun Cluster Object-Oriented Commands.

  1. Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on the node that you are removing as a potential primary of all device groups.

  2. Determine the device group or groups of which the node to be removed is a member.

    Look for the node name in the Device group node list for each device group.


    # cldevicegroup list -v
    
  3. If any of the device groups identified in Step 2 are of the device group type SVM, perform the steps in How to Remove a Node From a Device Group (Solaris Volume Manager) for each device group of that type.

  4. If any of the device groups identified in Step 2 are of the device group type VxVM, perform the steps in How to Remove a Node From a Device Group (Veritas Volume Manager) for each device group of that type.

  5. Determine the raw-device disk groups of which the node to be removed is a member.


    # cldevicegroup list -v
    
  6. If any of the device groups listed in Step 5 are of the device group types Disk or Local_Disk, perform the steps in How to Remove a Node From a Raw-Disk Device Group for each of these device groups.

  7. Verify that the node has been removed from the potential primaries list of all device groups.

    The command returns nothing if the node is no longer listed as a potential primary of any device group.


    # cldevicegroup list -v nodename