Use the metaset command to create a Solstice DiskSuite/Solaris Volume Manager disk set and register the disk set as a Sun Cluster disk device group. When you register the disk set, the name that you assigned to the disk set is automatically assigned to the disk device group.
Become superuser on the node connected to the disks where you want to create the disk set.
Calculate the number of names for Solstice DiskSuite metadevices or Solaris Volume Manager volumes that you need for your configuration, and modify the /kernel/drv/md.conf file on each node.
See “How to Set the Number of Metadevice or Volume Names and Disk Sets ” in the Sun Cluster Software Installation Guide for Solaris OS.
Use the metaset(1M)command to add the Solstice DiskSuite/Solaris Volume Manager disk set and register it as a disk device group with Sun Cluster. To create a multi-owner disk group, use the –M option.
# metaset -s diskset -a -M -h nodelist
Specifies the disk set to be created.
Adds the list of nodes that can master the disk set.
Designates the disk group as multi-owner.
Running the metaset command to set up a Solstice DiskSuite/Solaris Volume Manager device group on a cluster results in one secondary by default, regardless of the number of nodes that are included in that device group. You can change the desired number of secondary nodes by using the scsetup(1M) utility after the device group has been created. Refer to How to Change the Desired Number of Secondaries for a Device Group for more information about disk failover.
Verify that the disk device group has been added.
The disk device group name matches the disk set name that is specified with metaset.
# scconf -p | grep disk-device-group
# metaset -s dg-schost-1 -a -h phys-schost-1 # scconf -p | grep dg-schost-1 Device group name: dg-schost-1