Sun Cluster Software Installation Guide for Solaris OS

ProcedureHow to Register a Disk Group

If the VxVM cluster feature is not enabled, perform this procedure to register disk groups that are not local as Sun Cluster device groups.


Note –

SPARC: If the VxVM cluster feature is enabled or you created a local disk group, do not perform this procedure. Instead, proceed to How to Verify the Disk Group Configuration.


  1. Become superuser on a node of the cluster.

  2. Register the global disk group as a Sun Cluster device group.

    1. Start the clsetup utility.


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

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

    4. Follow the instructions to specify the VxVM disk group that you want to register as a Sun Cluster device group.

    5. When finished, quit the clsetup utility.

    6. Deport and re-import each local disk group.


      phys-schost# vxdg deport diskgroup
      # vxdg import dg
      
    7. Restart each local disk group.


      phys-schost# vxvol -g diskgroup startall
      
    8. Verify the local-only status of each local disk group.

      If the value of the flags property of the disk group is nogdl, the disk group is correctly configured for local-only access.


      phys-schost# vxdg list diskgroup | grep flags
      flags: nogdl
  3. Verify that the device group is registered.

    Look for the disk device information for the new disk that is displayed by the following command.


    phys-schost# cldevicegroup status
    
Next Steps

Go to How to Verify the Disk Group Configuration.

Troubleshooting

Stack overflow – If a stack overflows when the device group is brought online, the default value of the thread stack size might be insufficient. On each node, add the entry set cl_haci:rm_thread_stacksize=0xsize to the /etc/system file, where size is a number greater than 8000, which is the default setting.

Configuration changes – If you change any configuration information for a VxVM device group or its volumes, you must register the configuration changes by using the clsetup utility. Configuration changes that you must register include adding or removing volumes and changing the group, owner, or permissions of existing volumes. See Administering Device Groups in Sun Cluster System Administration Guide for Solaris OS for procedures to register configuration changes that are made to a VxVM device group.