Use this procedure to remove a cluster node from an existing cluster disk device group (disk group) running VERITAS Volume Manager (VxVM).
Determine the disk device group of which the node to be removed is a member.
# scstat -D |
Become superuser on a current cluster member node.
Execute the scsetup utility.
# scsetup |
The Main Menu appears.
Reconfigure a disk device group by entering 3 (Device groups and volumes).
Remove the node from the VxVM disk device group by entering 5 (Remove a node from a VxVM device group).
Follow the prompts to remove the cluster node from the disk device group. You will be asked for information about the following:
VxVM device group
Node name
Verify that the node has been removed from the VxVM disk device group:
# scstat -D ... Device group name: devicegroupname Device group type: VxVM Device group failback enabled: no Device group node list: nodename Diskgroup name: diskgroupname ... |
This example shows removal of the node named phys-schost-4 from the dg1 VxVM disk device group.
[Determine the disk device group for the node:] # scstat -D -- Device Group Servers -- Device Group Primary Secondary ------------ ------- --------- Device group servers: dg-schost-1 phys-schost-1 phys-schost-2 [Become superuser and execute the scsetup utility:] # scsetup [Select option 3:] *** Main Menu *** Please select from one of the following options: ... 3) Device groups and volumes ... Option: 3 [Select option 5:] *** Device Groups Menu *** Please select from one of the following options: ... 5) Remove a node from a VxVM device group ... Option: 5 [Answer the questions to remove the node:] >>> Remove a Node from a VxVM Device Group <<< ... Is it okay to continue (yes/no) [yes]? yes ... Name of the VxVM device group from which you want to remove a node? dg1 Name of the node to remove from this group? phys-schost-4 Is it okay to proceed with the update (yes/no) [yes]? yes scconf -r -D name=dg1,nodelist=phys-schost-4 Command completed successfully. Hit ENTER to continue: |
[Quit the scsetup Device Groups Menu and Main Menu:] ... Option: q [Verify that the node was removed:] # scstat -D ... Device group name: dg1 Device group type: VxVM Device group failback enabled: no Device group node list: phys-schost-3 Diskgroup name: dg1 ... |