Skip to main content

Transition ONTAP FlexGroup SnapMirror relationships to SVM DR

Contributors netapp-aaron-holt netapp-barbe netapp-lenida netapp-dbagwell netapp-aherbin

You can create a FlexGroup SVM DR relationship by transitioning an existing FlexGroup volume SnapMirror relationship.

Before you begin
  • The FlexGroup volume SnapMirror relationship is in a healthy state.

  • The source and destination FlexGroup volumes have the same name.

Steps
  1. From the SnapMirror destination, resynchronize the FlexGroup level SnapMirror relationship: snapmirror resync

  2. Create the FlexGroup SVM DR SnapMirror relationship. Use the same SnapMirror policy which is configured on the FlexGroup volume SnapMirror relationships: snapmirror create -destination-path dest_svm: -source-path src_svm: -identity-preserve true -policy MirrorAllSnapshots

    Note

    You must use the -identity-preserve true option of the snapmirror create command when you create your replication relationship.

    Learn more about snapmirror create in the ONTAP command reference.

  3. Verify the relationship is broken off: snapmirror show -destination-path dest_svm: -source-path src_svm:

    snapmirror show -destination-path fg_vs_renamed: -source-path fg_vs:
    
                                                                           Progress
    Source            Destination Mirror  Relationship   Total             Last
    Path        Type  Path        State   Status         Progress  Healthy Updated
    ----------- ---- ------------ ------- -------------- --------- ------- --------
    fg_vs:        XDP  fg_vs1_renamed:     Broken-off
                                          Idle           -         true   -
  4. Stop the destination SVM: vserver stop -vserver vs_name

    vserver stop -vserver fg_vs_renamed
    [Job 245] Job is queued: Vserver Stop fg_vs_renamed.
    [Job 245] Done
  5. Resynchronize the SVM SnapMirror relationship: snapmirror resync -destination-path dest_svm: -source-path src_svm:

    snapmirror resync -destination-path fg_vs_renamed: -source-path fg_vs:
    Warning: This Vserver has volumes which are the destination of FlexVol or FlexGroup SnapMirror relationships. A resync on the Vserver SnapMirror relationship will cause disruptions in data access
  6. Verify that the SVM DR level SnapMirror relationship reaches a healthy idle state: snapmirror show -expand

  7. Verify that the FlexGroup SnapMirror relationship is in a healthy state: snapmirror show