Sun Cluster System Administration Guide for Solaris OS

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

Removing a Sun Cluster disk device group will cause the corresponding VxVM disk group to be deported, not destroyed. However, even though the VxVM disk group still exists, it cannot be used in the cluster unless re-registered.

This procedure uses the scsetup(1M) utility to remove a VxVM disk group and unregister it as a Sun Cluster disk device group.

  1. Become superuser on any node of the cluster.

  2. Take the disk device group offline.

    # scswitch -F -D disk-device-group

    Places the disk device group offline.

    -D disk-device-group

    Specifies the device group to take offline.

  3. Enter the scsetup utility.

    The Main Menu is displayed.

    # scsetup
  4. To work with VxVM device groups, type 4 (Device groups and volumes).

    The Device Groups Menu is displayed.

  5. To unregister a VxVM disk group, type 3 (Unregister a VxVM device group).

    Follow the instructions and enter the VxVM disk group to be unregistered.

Example 4–8 SPARC: Removing and Unregistering a VERITAS Volume Manager Disk Device Group

The following example shows the VxVM disk device group dg1 taken offline, and the scconf command generated by scsetup when it removes and unregisters the disk device group.

# scswitch -F -D dg1
# scsetup

   scconf -r -D name=dg1