Skip to main content

Converting the type of a SnapMirror relationship

Starting with ONTAP 9.5, SnapMirror Synchronous is supported. You can convert an asynchronous SnapMirror relationship to a SnapMirror Synchronous relationship or vice versa without performing a baseline transfer.

About this task

You cannot convert an asynchronous SnapMirror relationship to a SnapMirror Synchronous relationship or vice versa by changing the SnapMirror policy

  • Converting an asynchronous SnapMirror relationship to a SnapMirror Synchronous relationship
    1. From the destination cluster, delete the asynchronous SnapMirror relationship: snapmirror delete -destination-path SVM:volume

      Example

      cluster2::>snapmirror delete -destination-path vs1_dr:vol1
    2. From the source cluster, release the SnapMirror relationship without deleting the common Snapshot copies: snapmirror release -relationship-info-only true -destination-path dest_SVM:dest_volume

      Example

      cluster1::>snapmirror release -relationship-info-only true -destination-path vs1_dr:vol1
    3. From the destination cluster, create a SnapMirror Synchronous relationship: snapmirror create -source-path src_SVM:src_volume -destination-path dest_SVM:dest_volume -policy sync-mirror

      Example

      cluster2::>snapmirror create -source-path vs1:vol1 -destination-path vs1_dr:vol1 -policy sync
    4. Resynchronize the SnapMirror Synchronous relationship: snapmirror resync -destination-path dest_SVM:dest_volume

      Example

      cluster2::>snapmirror resync -destination-path vs1_dr:vol1
  • Converting a SnapMirror Synchronous relationship to an asynchronous SnapMirror relationship
    1. From the destination cluster, quiesce the existing SnapMirror Synchronous relationship: snapmirror quiesce -destination-path dest_SVM:dest_volume

      Example

      cluster2::> snapmirror quiesce -destination-path vs1_dr:vol1
    2. From the destination cluster, delete the asynchronous SnapMirror relationship: snapmirror delete -destination-path SVM:volume

      Example

      cluster2::>snapmirror delete -destination-path vs1_dr:vol1
    3. From the source cluster, release the SnapMirror relationship without deleting the common Snapshot copies: snapmirror release -relationship-info-only true -destination-path dest_SVM:dest_volume

      Example

      cluster1::>snapmirror release -relationship-info-only true -destination-path vs1_dr:vol1
    4. From the destination cluster, create an asynchronous SnapMirror relationship: snapmirror create -source-path src_SVM:src_volume -destination-path dest_SVM:dest_volume -policy MirrorAllSnapshots

      Example

      cluster2::>snapmirror create -source-path vs1:vol1 -destination-path vs1_dr:vol1 -policy sync
    5. Resynchronize the SnapMirror Synchronous relationship: snapmirror resync -destination-path dest_SVM:dest_volume

      Example

      cluster2::>snapmirror resync -destination-path vs1_dr:vol1