Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Perform a Point-in-Time Snapshot

In this procedure, point-in-time snapshot is used to synchronize the shadow volume of the primary cluster to the master volume of the primary cluster. The master volume is vol01, the bitmap volume is vol04, and the shadow volume is vol02.

Before You Begin

Complete the procedure How to Perform a Remote Mirror Replication.

  1. Access nodeA as superuser or assume a role that provides solaris.cluster.modify and solaris.cluster.admin RBAC authorization.

  2. Disable the resource that is running on nodeA.


    nodeA# clresource disable -n nodeA nfs-rs
    
  3. Change the primary cluster to logging mode.

    • For Sun StorEdge Availability Suite software:


      nodeA# /usr/sbin/sndradm -n -l 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:


      nodeA# /usr/sbin/sndradm -n -l 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
      

    When the data volume on the disk is written to, the bitmap file on the same disk is updated. No replication occurs.

  4. Synchronize the shadow volume of the primary cluster to the master volume of the primary cluster.

    • For Sun StorEdge Availability Suite software:


      nodeA# /usr/opt/SUNWesm/sbin/iiadm -u s /dev/vx/rdsk/devgrp/vol02
      nodeA# /usr/opt/SUNWesm/sbin/iiadm -w /dev/vx/rdsk/devgrp/vol02
      
    • For Sun StorageTek Availability Suite software:


      nodeA# /usr/sbin/iiadm -u s /dev/vx/rdsk/devgrp/vol02
      nodeA# /usr/sbin/iiadm -w /dev/vx/rdsk/devgrp/vol02
      
  5. Synchronize the shadow volume of the secondary cluster to the master volume of the secondary cluster.

    • For Sun StorEdge Availability Suite software:


      nodeC# /usr/opt/SUNWesm/sbin/iiadm -u s /dev/vx/rdsk/devgrp/vol02
      nodeC# /usr/opt/SUNWesm/sbin/iiadm -w /dev/vx/rdsk/devgrp/vol02
      
    • For Sun StorageTek Availability Suite software:


      nodeC# /usr/sbin/iiadm -u s /dev/vx/rdsk/devgrp/vol02
      nodeC# /usr/sbin/iiadm -w /dev/vx/rdsk/devgrp/vol02
      
  6. Restart the application on nodeA.


    nodeA# clresource enable -n nodeA nfs-rs
    
  7. Resynchronize the secondary volume with the primary volume.

    • For Sun StorEdge Availability Suite software:


      nodeA# /usr/opt/SUNWesm/sbin/sndradm -n -u 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:


      nodeA# /usr/sbin/sndradm -n -u 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
      
Next Steps

Go to How to Verify That Replication Is Configured Correctly.