If the VxVM cluster feature is not enabled, perform this procedure to register disk groups that are not local as Sun Cluster device groups.
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.
Become superuser on a node of the cluster.
Register the global disk group as a Sun Cluster device group.
Start the clsetup utility.
phys-schost# clsetup |
Choose the menu item, Device groups and volumes.
Choose the menu item, Register a VxVM disk group.
Follow the instructions to specify the VxVM disk group that you want to register as a Sun Cluster device group.
When finished, quit the clsetup utility.
Deport and re-import each local disk group.
phys-schost# vxdg deport diskgroup # vxdg import dg |
Restart each local disk group.
phys-schost# vxvol -g diskgroup startall |
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 |
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 |
Go to How to Verify the Disk Group Configuration.
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.