NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

Snapmirror reverse resync

KDEAN1961
9,850 Views

Environment is 7-Mode 7.1.4

We are snapmirroring  from site A (source) ->B (target)  We would like to break replication on on an existing snapmirror job  and make site B the new source for a particular volume  and make site A the new target.  Can I modify the existing snapmirror job to make site A the new target without having to re-replicate all the data?

 

Thanks

 

Kathy

1 ACCEPTED SOLUTION
3 REPLIES 3

KDEAN1961
9,849 Views

To summarize further I want to reverse the function of the source and destination wthout having to do a re-inialize.  I found an posting on NetApp KB that it can be done so just looking for the right commands...thanks

MOHIT_FUJITSU
9,785 Views

First, make sure no transfer is in progress.

1. Hash out the /etc/snapmirror.conf entry for this SM relationship at the destination filer.

2. Break the SM at the destination end. (snapmirror break filerB:volB)

3. Resync the SM relationship from source filer (snapmirror resync -S filerB:volB filerA:volA)

4. Trigger SM update command (snapmirror update -S filerB:volB filerA:volA)

5. Check snapmirror status from original source. (output will be 2 SM relationship for that volume)

6. Release the older SM relationship from source (snapmirror release)

7. Create a new entry in /etc/snappmirror.conf file on the source filer (which is now a destination for this SM relationship).

Public