Perform this procedure for each diskset you create.
If you used SunPlex Manager to install Solstice DiskSuite, one to three disksets might already exist. See "Using SunPlex Manager to Install Sun Cluster Software" for information about the metasets created by SunPlex Manager.
Ensure that the diskset you intend to create meets one of the following requirements.
If configured with exactly two disk strings, the diskset must connect to exactly two nodes and use exactly two mediator hosts, which must be the same two hosts used for the diskset. See "Mediators Overview" for details on how to set up mediators.
If configured with more than two disk strings, ensure that for any two disk strings S1 and S2, the sum of the number of disks on those strings exceeds the number of disks on the third string S3. Stated as a formula, the requirement is that count(S1) + count(S2) > count(S3).
Ensure that root is a member of group 14.
# vi /etc/group ... sysadmin::14:root ... |
Ensure that the local metadevice state database replicas exist.
For instructions, see "How to Create Metadevice State Database Replicas".
Become superuser on the cluster node that will master the diskset.
Create the diskset.
This command also registers the diskset as a Sun Cluster disk device group.
# metaset -s setname -a -h node1 node2 |
Specifies the diskset name
Adds (creates) the diskset
Specifies the name of the primary node to master the diskset
Specifies the name of the secondary node to master the diskset
Verify the status of the new diskset.
# metaset -s setname |
Add drives to the diskset.
Go to "Adding Drives to a Diskset".
The following command creates two disksets, dg-schost-1 and dg-schost-2, with the nodes phys-schost-1 and phys-schost-2 assigned as the potential primaries.
# metaset -s dg-schost-1 -a -h phys-schost-1 phys-schost-2 # metaset -s dg-schost-2 -a -h phys-schost-1 phys-schost-2 |