Convert the type of a SnapMirror relationship
Beginning with ONTAP 9.5, SnapMirror synchronous is supported. You can convert an SnapMirror asynchronous relationship to a SnapMirror synchronous relationship or vice versa without performing a baseline transfer.
You cannot convert an SnapMirror asynchronous relationship to a SnapMirror synchronous relationship or vice versa by changing the SnapMirror policy
-
Converting an SnapMirror asynchronous relationship to a SnapMirror synchronous relationship
-
From the destination cluster, delete the SnapMirror asynchronous relationship:
snapmirror delete -destination-path <SVM:volume>
cluster2::>snapmirror delete -destination-path vs1_dr:vol1
-
From the source cluster, release the SnapMirror relationship without deleting the common Snapshot copies:
snapmirror release -relationship-info-only true -destination-path <destination_SVM>:<destination_volume>
cluster1::>snapmirror release -relationship-info-only true -destination-path vs1_dr:vol1
-
From the destination cluster, create a SnapMirror synchronous relationship:
snapmirror create -source-path src_SVM:src_volume -destination-path <destination_SVM>:<destination_volume> -policy sync-mirror
cluster2::>snapmirror create -source-path vs1:vol1 -destination-path vs1_dr:vol1 -policy sync
-
Resynchronize the SnapMirror synchronous relationship:
snapmirror resync -destination-path <destination_SVM:destination_volume>
cluster2::>snapmirror resync -destination-path vs1_dr:vol1
-
-
Converting a SnapMirror synchronous relationship to an SnapMirror asynchronous relationship
-
From the destination cluster, quiesce the existing SnapMirror synchronous relationship:
snapmirror quiesce -destination-path <destination_SVM>:<destination_volume>
cluster2::> snapmirror quiesce -destination-path vs1_dr:vol1
-
From the destination cluster, delete the SnapMirror asynchronous relationship:
snapmirror delete -destination-path <SVM:volume>
cluster2::>snapmirror delete -destination-path vs1_dr:vol1
-
From the source cluster, release the SnapMirror relationship without deleting the common Snapshot copies:
snapmirror release -relationship-info-only true -destination-path <destination_SVM:destination_volume>
cluster1::>snapmirror release -relationship-info-only true -destination-path vs1_dr:vol1
-
From the destination cluster, create an SnapMirror asynchronous relationship:
snapmirror create -source-path src_SVM:src_volume -destination-path <destination_SVM:destination_volume> -policy MirrorAllSnapshots
cluster2::>snapmirror create -source-path vs1:vol1 -destination-path vs1_dr:vol1 -policy sync
-
Resynchronize the SnapMirror synchronous relationship:
snapmirror resync -destination-path <destination_SVM:destination_volume>
cluster2::>snapmirror resync -destination-path vs1_dr:vol1
-