How to Remove a Node From a Disk Device Group (VERITAS Volume Manager)
Use this procedure to remove a cluster node from the list of potential primaries of a VERITAS Volume Manager (VxVM) disk device group (disk group).
Verify that the node is still a member of the group and that the group is an VxVM device group.
Device group type VxVM indicates a VxVM disk device group.
phys-suncluster-1% scconf -pv | grep '(global-galileo)' (global-galileo) Device group type: VxVM (global-galileo) Device group failback enabled: no (global-galileo) Device group node list: phys-suncluster-1, phys-suncluster-2 (global-galileo) Diskset name: global-galileo phys-suncluster-1%
Become superuser on a current cluster member node.
Execute the scsetup(1M) command.
# scsetup
The Main Menu is displayed.
To reconfigure a disk device group, type 4 (Device groups and volumes).
To remove the node from the VxVM disk device group, type 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(s).
# scconf -p | grep Device
Example--Removing a Node From a Disk Device Group (VxVM)
This example shows removal of the node named phys-schost-1 from the dg1 VxVM disk device group.
[Determine the VxVM disk device group for the node:] # scconf -p | grep Device Device group name: dg1 Device group type: VxVM Device group failback enabled: no Device group node list: phys-schost-1, phys-schost-2 Device group diskset name: dg1 [Become superuser and execute the scsetup utility:] # scsetup Select Device groups and volumes>Remove a node from a VxVM device group. Answer the questions when prompted. You will need the following information. You Will Need: Example: VxVM device group name dg1 node names phys-schost-1 [Verify that the scconf command executed properly:] scconf -r -D name=dg1,nodelist=phys-schost-1 Command completed successfully. Quit the scsetupDevice Groups Menu and Main Menu. [Verify that the node was removed:] # scconf -p | grep Device Device group name: dg1 Device group type: VxVM Device group failback enabled: no Device group node list: phys-schost-2 Device group diskset name: dg1 |
How to Remove a Node From a Raw Disk Device Group
Use this procedure to remove a cluster node from the list of potential primaries of a VERITAS Volume Manager (VxVM) disk device group (disk group).
Use this procedure to remove a cluster node from the list of potential primaries of a raw disk device group.
Become superuser on a node in the cluster other than the node to remove.
Identify the disk device groups that are connected to the node being removed.
Look for the node name in the Device group node list entry.
# scconf -pvv | grep Devicenodename | grep
Determine which disk device groups identified in Step 2 are raw disk device groups.
Raw disk device groups are of the Disk or Local_Disk device group type.
# scconf -pvv | grep group type
Disable the localonly property of each Local_Disk raw disk device group.
# scconf -c -D name=rawdisk-device-group,localonly=false
See the scconf_dg_rawdisk(1M) man page for more information about the localonly property.
Verify that you have disabled the localonly property of all raw disk device groups that are connected to the node being removed.
The Disk device group type indicates that the localonly property is disabled for that raw disk device group.
# scconf -pvv | grep group type
Remove the node from all raw disk device groups identified in Step 3.
You must complete this step for each raw disk device group that is connected to the node being removed.
# scconf -r -D name=rawdisk-device-group,nodelist=nodename
Example--Removing a Node From a Raw Disk Device Group
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 disk device groups connected to the node being removed:]
phys-schost-1# scconf -pvv | grep phys-schost-2 | grep Device group node list
(dsk/d4) Device group node list: phys-schost-2
(dsk/d2) Device group node list: phys-schost-1, phys-schost-2
(dsk/d1) Device group node list: phys-schost-1, phys-schost-2
[Identify the are raw disk device groups:]
phys-schost-1# scconf -pvv | grep group type
(dsk/d4) Device group type: Local_Disk
(dsk/d8) Device group type: Local_Disk
[Disable the localonly flag for each local disk on the node:]
phys-schost-1# scconf -c -D name=dsk/d4,localonly=false
[Verify that the localonly flag is disabled:]
phys-schost-1# scconf -pvv | grep group type
(dsk/d4) Device group type: Disk
(dsk/d8) Device group type: Local_Disk
[Remove the node from all raw disk device groups:]
phys-schost-1# scconf -r -D name=dsk/d4,nodelist=phys-schost-2
phys-schost-1# scconf -r -D name=dsk/d2,nodelist=phys-schost-2
phys-schost-1# scconf -r -D name=dsk/d1,nodelist=phys-schost-2
|



