Go to main content
Oracle® Solaris Cluster 4.3 System Administration Guide

Exit Print View

Updated: June 2017
 
 

How to Enable Replication on the Secondary Cluster

Before You Begin

Complete the procedure How to Enable Replication on the Primary Cluster.

  1. Access nodeC as the root role.
  2. Flush all transactions.
    nodeC# lockfs -a -f
  3. Enable remote mirror replication from the primary cluster to the secondary cluster.

    Use the following command for Availability Suite software:

    nodeC# /usr/sbin/sndradm -n -e lhost-reprg-prim \
    /dev/md/nfsset/rdsk/d200 \
    /dev/md/nfsset/rdsk/d203 lhost-reprg-sec \
    /dev/md/nfsset/rdsk/d200  \
    /dev/md/nfsset/rdsk/d203 ip sync

    The primary cluster detects the presence of the secondary cluster and starts synchronization. Refer to the system log file /var/adm for Availability Suite for information about the status of the clusters.

  4. Enable independent point-in-time snapshot.

    Use the following command for Availability Suite software:

    nodeC# /usr/sbin/iiadm -e ind \
    /dev/md/nfsset/rdsk/d200 \
    /dev/md/nfsset/rdsk/d201 \
    /dev/md/nfsset/rdsk/d202
    nodeC# /usr/sbin/iiadm -w \
    /dev/md/nfsset/rdsk/d201
  5. Attach the point-in-time snapshot to the remote mirror set.

    Use the following command for Availability Suite software:

    nodeC# /usr/sbin/sndradm -I a \
    /dev/md/nfsset/rdsk/d200  \
    /dev/md/nfsset/rdsk/d201 \
    /dev/md/nfsset/rdsk/d202

Next Steps

Go to Example of How to Perform Data Replication.

Example of How to Perform Data Replication

This section describes how data replication is performed for the example configuration. This section uses the Availability Suite software commands sndradm and iiadm. For more information about these commands, see the Availability Suite documentation.