Removing a Sun Cluster device group causes the corresponding VxVM disk group to be exported, not destroyed. However, even though the VxVM disk group still exists, it cannot be used in the cluster unless reregistered.
This procedure uses the clsetup utility to remove a VxVM disk group and unregister it as a Sun Cluster 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 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 B, Sun Cluster Object-Oriented Commands.
Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on any node of the cluster.
Take the device group offline.
# cldevicegroup offline devicegroup
Start the clsetup utility.
The Main Menu is displayed.
To work with VxVM device groups, type the number that corresponds to the option for device groups and volumes.
The Device Groups Menu is displayed.
To unregister a VxVM disk group, type the number that corresponds to the option for unregistering a VxVM device group.
Follow the instructions and type the name of the VxVM disk group to be unregistered.
The following example shows the VxVM device group dg1 taken offline, and the cldevicegroup command generated by clsetup when it removes and unregisters the device group.
# cldevicegroup offline dg1 # clsetup cldevicegroup delete dg1