Converting an existing DP-type relationship to XDP

You can easily convert an existing DP-type relationship to XDP to take advantage of version-flexible SnapMirror.

About this task

SnapMirror does not automatically convert existing DP-type relationships to XDP. To convert the relationship, you need to break and delete the existing relationship, create a new XDP relationship, and resync the relationship. For background information, see XDP replaces DP as the SnapMirror default in ONTAP 9.3.

Steps

  1. Quiesce the existing DP-type relationship: snapmirror quiesce -source-path SVM:volume|cluster://SVM/volume, ... -destination-path SVM:volume|cluster://SVM/volume, ...
    For complete command syntax, see the man page.
    Note: You must run this command from the destination SVM or the destination cluster.
    Example
    The following example quiesces the relationship between the source volume volA on svm1 and the destination volume volA_dst on svm_backup:
    cluster_dst::> snapmirror quiesce -source-path svm1:volA -destination-path svm_backup:volA_dst
  2. Break the existing DP-type relationship: snapmirror break -source-path SVM:volume|cluster://SVM/volume, ... -destination-path SVM:volume|cluster://SVM/volume, ...
    For complete command syntax, see the man page.
    Note: You must run this command from the destination SVM or the destination cluster.
    Example
    The following example breaks the relationship between the source volume volA on svm1 and the destination volume volA_dst on svm_backup:
    cluster_dst::> snapmirror break -source-path svm1:volA -destination-path svm_backup:volA_dst
  3. Disable automatic deletion of Snapshot copies on the destination volume: volume snapshot autodelete modify -vserver SVM -volume volume -enabled false
    Example
    The following example disables Snapshot copy autodelete on the destination volume volA_dst:
    cluster_dst::> volume snapshot autodelete modify -vserver svm_backup -volume volA_dst -enabled false
  4. Delete the existing DP-type relationship:snapmirror delete -source-path SVM:volume|cluster://SVM/volume, ... -destination-path SVM:volume|cluster://SVM/volume, ...
    For complete command syntax, see the man page.
    Example
    Note: You must run this command from the destination SVM or the destination cluster.
    The following example deletes the relationship between the source volume volA on svm1 and the destination volume volA_dst on svm_backup:
    cluster_dst::> snapmirror delete -source-path svm1:volA -destination-path svm_backup:volA_dst
  5. Create the new XDP-type relationship: snapmirror create -source-path SVM:volume|cluster://SVM/volume, ... -destination-path SVM:volume|cluster://SVM/volume, ... -type XDP -schedule schedule -policy policy
    The new relationship must use the same source and destination volume. For complete command syntax, see the man page.
    Note: You must run this command from the destination SVM or the destination cluster.
    Example
    The following example creates a SnapMirror DR relationship between the source volume volA on svm1 and the destination volume volA_dst on svm_backup using the default MirrorAllSnapshots policy:
    cluster_dst::> snapmirror create -source-path svm1:volA -destination-path svm_backup:volA_dst -type XDP -schedule my_daily -policy MirrorAllSnapshots
  6. Resync the source and destination volumes:snapmirror resync -source-path SVM:volume|cluster://SVM/volume, ... -destination-path SVM:volume|cluster://SVM/volume, ... -type DP|XDP -schedule schedule -policy policy
    For complete command syntax, see the man page.
    Note: You must run this command from the destination SVM or the destination cluster. Although resync does not require a baseline transfer, it can be time-consuming. You might want to run the resync in off-peak hours.
    Example
    The following example resyncs the relationship between the source volume volA on svm1 and the destination volume volA_dst on svm_backup:
    cluster_dst::> snapmirror resync -source-path svm1:volA -destination-path svm_backup:volA_dst

After you finish

Use the snapmirror show command to verify that the SnapMirror relationship was created. For complete command syntax, see the man page.