How to Remove a Node From a Device Group (Solaris Volume Manager)

Use this procedure to remove a cluster node from the list of potential primaries of a Solaris Volume Manager device group. Repeat the metaset command for each device group from which you want to remove the node.

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 A, Sun Cluster Object-Oriented Commands.

Verify that the node is still a member of the device group and that the device group is a Solaris Volume Manager device group.

Become superuser on the node that currently owns the device group that you want to modify.

Delete the node's host name from the device group.

# metaset-ssetname-d -hnodelist

-ssetname

Specifies the device group name.

-d

Deletes from the device group the nodes identified with -h.

-hnodelist

Specifies the nodename of the node or nodes that will be removed.

Note –

The update can take several minutes to complete.

If the command fails, add the -f (force) option to the command.

# metaset-ssetname-d -f -hnodelist

Repeat Step 4 for each device group from which the node is being removed as a potential primary.

Verify that the node has been removed from the device group.

The device group name matches the disk set name that is specified with metaset.

phys-schost-1% cldevicegroup list -v devicegroup

Example 5–17 Removing a Node From a Device Group (Solaris Volume Manager)

The following example shows the removal of the host name phys-schost-2 from a device group configuration. This example eliminates phys-schost-2 as a potential primary for the designated device group. Verify removal of the node by running the cldevicegroup
show command. Check that the removed node is no longer displayed in the screen text.