Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Convert a Device Group to a Local Disk Group (VxVM)

Perform this procedure to change a VxVM device group to a local VxVM disk group that is not managed by Sun Cluster software. The local disk group can have more than one node in its node list, but it can be mastered by only one node at a time.

  1. Become superuser on a node of the cluster.

  2. Take the device group offline.


    phys-schost# cldevicegroup offline devicegroup
    
  3. Unregister the device group.

    1. Start the clsetup utility.


      phys-schost# clsetup
      
    2. Choose the menu item, Device groups and volumes.

    3. Choose the menu item, Unregister a VxVM disk group.

    4. Follow the instructions to specify the VxVM disk group that you are unregistering from Sun Cluster software.

    5. Quit the clsetup utility.

  4. Verify that the disk group is no longer registered with Sun Cluster software.


    phys-schost# cldevicegroup status
    

    Command output should no longer show the device group that you unregistered.

  5. Import the disk group.


    phys-schost# vxdg import diskgroup
    
  6. Set the localonly property of the disk group.

    1. Start the clsetup utility.


      phys-schost# clsetup
      
    2. Choose the menu item, Device groups and volumes.

    3. Choose the menu item, Set a VxVM disk group as a local disk group.

    4. Follow the instructions to set the localonly property and to specify the single node that is to exclusively master the disk group.

    5. When finished, quit the clsetup utility.

  7. Verify that the disk group is successfully configured as a local disk group.


    phys-schost# vxdg list diskgroup