Sun Cluster System Administration Guide for Solaris OS

ProcedureSPARC: How to Remove and Unregister a Device Group (VERITAS Volume Manager)

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.

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 A, Sun Cluster Object-Oriented Commands.

  1. Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on any node of the cluster.

  2. Take the device group offline.

    # cldevicegroup offline devicegroup
  3. Start the clsetup utility.

    # clsetup

    The Main Menu is displayed.

  4. 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.

  5. 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.

Example 5–21 SPARC: Removing and Unregistering a VERITAS Volume Manager Device Group

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