Sun Cluster Software Installation Guide for Solaris OS

ProcedureHow to Create State Database Replicas

Perform this procedure on each node in the global cluster.

  1. Become superuser.

  2. Create state database replicas on one or more local devices for each cluster node.

    Use the physical name (cNtXdY sZ), not the device-ID name (dN), to specify the slices to use.


    phys-schost# metadb -af slice-1 slice-2 slice-3
    

    Tip –

    To provide protection of state data, which is necessary to run Solaris Volume Manager software, create at least three replicas for each node. Also, you can place replicas on more than one device to provide protection if one of the devices fails.


    See the metadb(1M) man page and your Solaris Volume Manager documentation for details.

  3. Verify the replicas.


    phys-schost# metadb
    

    The metadb command displays the list of replicas.


Example 4–1 Creating State Database Replicas

The following example shows three state database replicas. Each replica is created on a different device.


phys-schost# metadb -af c0t0d0s7 c0t1d0s7 c1t0d0s7
phys-schost# metadb
flags            first blk      block count
    a       u       16          8192         /dev/dsk/c0t0d0s7
    a       u       16          8192         /dev/dsk/c0t1d0s7
    a       u       16          8192         /dev/dsk/c1t0d0s7

Next Steps

To mirror file systems on the root disk, go to Mirroring the Root Disk.

Otherwise, go to Creating Disk Sets in a Cluster to create Solaris Volume Manager disk sets.