Oracle® Solaris Cluster Software Installation Guide

Exit Print View

Updated: September 2014, E39580-02
 
 

How to Create State Database Replicas

Perform this procedure on each node in the global cluster.

  1. Assume the root role.
  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 Creating State Database Replicas in Solaris Volume Manager Administration Guide 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

Go to Creating Disk Sets in a Cluster to create Solaris Volume Manager disk sets.