Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster System Administration Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

### How to Configure a Device Group on the Primary Cluster

Before You Begin

Ensure that you have completed the following tasks:

- Read the guidelines and requirements in the following sections:

  - Understanding Availability Suite Software in a Cluster

  - Guidelines for Configuring Host-Based Data Replication Between Clusters

- Set up the primary and secondary clusters as described in Connecting and Installing the Clusters.

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

   The node `nodeA` is the first node of the primary cluster. For a reminder of which node is `nodeA`, see Figure A-7.

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 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.

Copyright © 2000, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |