The following example shows the removal of the host name phys-schost-2 from a disk device group configuration. This example eliminates phys-schost-2 as a potential primary for the designated disk device group. Verify removal of the node by running the scstat -D command. Check that the removed node is no longer displayed in the screen text.
[Determine the Solstice DiskSuite/Solaris Volume Manager
disk device group(2) for the node:]
# scconf -pv | grep Device
Device group name: dg-schost-1
Device group type: SDS/SVM
Device group failback enabled: no
Device group node list: phys-schost-1, phys-schost-2
Device group ordered node list: yes
Device group diskset name: dg-schost-1
[Determine the disk device group(s) 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.]
[Remove the hostname from the disk device group:]
# metaset -s dg-schost-1 -d -h phys-schost-2
[Verify removal of the node:]
phys-schost-1% scconf -pv |grep
Device Group Servers --
Device Group Primary Secondary
------------ ------- ---------
Device group node list: dg-schost-1, phys-schost-2,
|