Sun Cluster 3.0 Installation Guide

How to Create a Diskset

Perform this procedure for each diskset in the cluster.

  1. If the /.rhosts file is not used to list the cluster node names, ensure that root is a member of group 14.


    # vi /etc/group
    ...
    sysadmin::14:root
    ...
  2. Make sure the local metadevice state database replicas exist.

    If necessary, refer to the procedure "How to Create Metadevice State Database Replicas".

  3. Become superuser on the cluster node that will master the diskset.

  4. Create the diskset.

    This command also registers the diskset as a Sun Cluster disk device group.


    # metaset -s setname -a -h nodename1 nodename2
    
    -s setname

    Specifies the diskset name

    -a

    Adds (creates) the diskset

    -h nodename1

    Specifies the name of the primary node to master the diskset

    nodename2

    Specifies the name of the secondary node to master the diskset

  5. Verify the status of the new diskset.


    # metaset -s setname
    

Example--Creating a Diskset

The following command creates two disksets, dg-schost-1 and dg-schost-2, assigning the nodes phys-schost-1 and phys-schost-2 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

Where to Go From Here

To add drives to the diskset, go to "How to Add Drives to a Diskset".