Use this procedure to remove a cluster node from the list of potential primaries of a raw-disk device group.
The phys-schost# prompt reflects a global-cluster prompt. Perform this procedure on a global cluster.
This procedure provides the long forms of the Oracle Solaris Cluster commands. Most commands also have short forms. Except for the long and short forms of the command names, the commands are identical.
# cldevicegroup show
Raw-disk device groups are shown with type Disk or Local_disk. Look for groups whose node list contains the node which is being removed.
# cldevicegroup set -p localonly=false devicegroup
See the cldevicegroup(8CL) man page for more information about the localonly property.
The Disk device group type indicates that the localonly property is disabled for that raw-disk device group.
# cldevicegroup show
You must complete this step for each raw-disk device group that is connected to the node being removed.
# cldevicegroup remove-node -n nodename devicegroup
This example shows how to remove a node (phys-schost-2) from a raw-disk device group. All commands are run from another node of the cluster (phys-schost-1).
Identify the device groups connected to the node being removed, and determine which are raw-disk device groups phys-schost-1# cldevicegroup show Device Group Name: dsk/d4 Type: Local_disk failback: false Node List: phys-schost-2 preferenced: false localonly: true autogen false numsecondaries: 1 ... Device Group Name: dsk/d1 Type: Disk failback: false Node List: phys-schost-1, phys-schost-2 preferenced: true localonly: false autogen false numsecondaries: 1 ... Disable the localonly flag for each local disk on the node phys-schost-1# cldevicegroup set -p localonly=false dsk/d4 Verify that the localonly flag is disabled phys-schost-1# cldevicegroup show dsk/d4 dsk/d1 ... Device Group Name: dsk/d4 Type: Disk ... Device Group Name: dsk/d1 Type: Disk Remove the node from all raw-disk device groups phys-schost-1# cldevicegroup remove-node -n phys-schost-2 dsk/d4 phys-schost-1# cldevicegroup remove-node -n phys-schost-2 dsk/d1