Sun Cluster System Administration Guide for Solaris OS

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

  2. Flush all transactions.


    nodeC# lockfs -a -f
    
  3. Enable remote mirror replication from the primary cluster to the secondary cluster.

    • For Sun StorEdge Availability Suite software:


      nodeC# /usr/opt/SUNWesm/sbin/sndradm -n -e lhost-reprg-prim \
      /dev/vx/rdsk/devgrp/vol01 \
      /dev/vx/rdsk/devgrp/vol04 lhost-reprg-sec \
      /dev/vx/rdsk/devgrp/vol01 \
      /dev/vx/rdsk/devgrp/vol04 ip sync
      
    • For Sun StorageTek Availability Suite software:


      nodeC# /usr/sbin/sndradm -n -e lhost-reprg-prim \
      /dev/vx/rdsk/devgrp/vol01 \
      /dev/vx/rdsk/devgrp/vol04 lhost-reprg-sec \
      /dev/vx/rdsk/devgrp/vol01 \
      /dev/vx/rdsk/devgrp/vol04 ip sync
      

    The primary cluster detects the presence of the secondary cluster and starts synchronization. Refer to the system log file /var/opt/SUNWesm/ds.log for Sun StorEdge Availability Suite or /var/adm for Sun StorageTek Availability Suite for information about the status of the clusters.

  4. Enable independent point-in-time snapshot.

    • For Sun StorEdge Availability Suite software:


      nodeC# /usr/opt/SUNWesm/sbin/iiadm -e ind \
      /dev/vx/rdsk/devgrp/vol01 \
      /dev/vx/rdsk/devgrp/vol02 \
      /dev/vx/rdsk/devgrp/vol03
      nodeC# /usr/opt/SUNWesm/sbin/iiadm -w \
      /dev/vx/rdsk/devgrp/vol02
      
    • For Sun StorageTek Availability Suite software:


      nodeC# /usr/sbin/iiadm -e ind \
      /dev/vx/rdsk/devgrp/vol01 \
      /dev/vx/rdsk/devgrp/vol02 \
      /dev/vx/rdsk/devgrp/vol03
      nodeC# /usr/sbin/iiadm -w \
      /dev/vx/rdsk/devgrp/vol02
      
  5. Attach the point-in-time snapshot to the remote mirror set.

    • For Sun StorEdge Availability Suite software:


      nodeC# /usr/opt/SUNWesm/sbin/sndradm -I a \
      /dev/vx/rdsk/devgrp/vol01 \
      /dev/vx/rdsk/devgrp/vol02 \
      /dev/vx/rdsk/devgrp/vol03
      
    • For Sun StorageTek Availability Suite software:


      nodeC# /usr/sbin/sndradm -I a \
      /dev/vx/rdsk/devgrp/vol01 \
      /dev/vx/rdsk/devgrp/vol02 \
      /dev/vx/rdsk/devgrp/vol03
      
Next Steps

Go to Example of How to Perform Data Replication.