JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster System Administration Guide     Oracle Solaris Cluster 4.0
search filter icon
search icon

Document Information

Preface

1.  Introduction to Administering Oracle Solaris Cluster

2.  Oracle Solaris Cluster and RBAC

3.  Shutting Down and Booting a Cluster

4.  Data Replication Approaches

5.  Administering Global Devices, Disk-Path Monitoring, and Cluster File Systems

6.  Administering Quorum

7.  Administering Cluster Interconnects and Public Networks

8.  Adding and Removing a Node

9.  Administering the Cluster

10.  Configuring Control of CPU Usage

11.  Updating Your Software

12.  Backing Up and Restoring a Cluster

A.  Example

Configuring Host-Based Data Replication With StorageTek Availability Suite Software

Understanding StorageTek Availability Suite Software in a Cluster

Data Replication Methods Used by StorageTek Availability Suite Software

Remote Mirror Replication

Point-in-Time Snapshot

Replication in the Example Configuration

Guidelines for Configuring Host-Based Data Replication Between Clusters

Configuring Replication Resource Groups

Configuring Application Resource Groups

Configuring Resource Groups for a Failover Application

Configuring Resource Groups for a Scalable Application

Guidelines for Managing a Takeover

Task Map: Example of a Data Replication Configuration

Connecting and Installing the Clusters

Example of How to Configure Device Groups and Resource Groups

How to Configure a Device Group on the Primary Cluster

How to Configure a Device Group on the Secondary Cluster

How to Configure the File System on the Primary Cluster for the NFS Application

How to Configure the File System on the Secondary Cluster for the NFS Application

How to Create a Replication Resource Group on the Primary Cluster

How to Create a Replication Resource Group on the Secondary Cluster

How to Create an NFS Application Resource Group on the Primary Cluster

How to Create an NFS Application Resource Group on the Secondary Cluster

Example of How to Enable Data Replication

How to Enable Replication on the Primary Cluster

How to Enable Replication on the Secondary Cluster

Example of How to Perform Data Replication

How to Perform a Remote Mirror Replication

How to Perform a Point-in-Time Snapshot

How to Verify That Replication Is Configured Correctly

Example of How to Manage a Takeover

How to Update the DNS Entry

Index

How to Configure a Device Group on the Primary Cluster

Before You Begin

Ensure that you have completed the following tasks:

  1. Access nodeA as superuser or assume a 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.