Transition an existing FlexGroup SnapMirror relationship to SVM DR


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

What you’ll need
  • The FlexGroup volume SnapMirror relationship is in a healthy state.

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

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

  2. Create the FlexGroup SVM DR SnapMirror relationship: snapmirror create -policy DPDefault -identity-preserve true -destination-path dest_svm:dest_flexgroup -source-path src_svm:src_flexgroup

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

    snapmirror show -destination-path fg_vs_renamed: -source-path fg_vs:
    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:dest_flexgroup -source-path src_svm:src_flexgroup

    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