Go to main content

Oracle® Solaris Cluster 4.3 System Administration Guide

Exit Print View

Updated: June 2017

How to Configure a Device Group on the Primary Cluster

Before You Begin

Ensure that you have completed the following tasks:

  1. Access nodeA by assuming the role that provides solaris.cluster.modify authorization.

    The node nodeA is the first node of the primary cluster. For a reminder of which node is nodeA, see Example Cluster Configuration.

  2. Create a metaset to contain the NFS data and associated replication.
    nodeA# metaset -s nfsset a -h nodeA nodeB
  3. Add disks to the metaset.
    nodeA# metaset -s nfsset -a /dev/did/dsk/d6 /dev/did/dsk/d7
  4. Add mediators to the metaset.
    nodeA# metaset -s nfsset -a -m nodeA nodeB
  5. Create the required volumes (or metadevices).

    Create two components of a mirror:

    nodeA# metainit -s nfsset d101 1 1 /dev/did/dsk/d6s2
    nodeA# metainit -s nfsset d102 1 1 /dev/did/dsk/d7s2

    Create the mirror with one of the components:

    nodeA# metainit -s nfsset d100 -m d101

    Attach the other component to the mirror and allow it to synchronize:

    nodeA# metattach -s nfsset d100 d102

    Create soft partitions from the mirror, following these examples:

    • d200 - The NFS data (master volume):

      nodeA# metainit -s nfsset d200 -p d100 50G
    • d201 - The point-in-time copy volume for the NFS data:

      nodeA# metainit -s nfsset d201 -p d100 50G
    • d202 - The point-in-time bitmap volume:

      nodeA# metainit -s nfsset d202 -p d100 10M
    • d203 - The remote shadow bitmap volume:

      nodeA# metainit -s nfsset d203 -p d100 10M
    • d204 - The volume for the Oracle Solaris Cluster SUNW.NFS configuration information:

      nodeA# metainit -s nfsset d204 -p d100 100M
  6. Create file systems for the NFS data and the configuration volume.
    nodeA# yes | newfs /dev/md/nfsset/rdsk/d200
    nodeA# yes | newfs /dev/md/nfsset/rdsk/d204

Next Steps

Go to How to Configure a Device Group on the Secondary Cluster.