ONTAP Discussions

How do I resync the source snapmirror volume from the destination volume

wnorthmtitsd
3,177 Views

We are getting ready to test our DR that involves snapmirrors.

We will break off the destination so it will be r/w

then the destination will be pointed to the target and modifications will be made

How do I resync the the source from the destination.

I have found several answers but they don't seem to work, or maybe aren't complete enough for

someone new like me.

thanks!

4 REPLIES 4

CCOLEMAN_
3,177 Views

PZI1234567
3,177 Views

It happens I have a recent run-book from ontap 8.1.2 with the setup like this for full DR so here is a cut-and-paste from it.

Say you have a snapmirror from vfiler1 volume test1 to vfiler5 volume test1_1 initialized like this:

     On vfiler5: snapmirror initialize -S vfiler1:test1 test1_1

Than you run a few updates like this:

     On vfiler5: snapmirror update -S vfiler1:test1 test1_1

This would result in the following status on vfiler5:

     snapmirror status

Snapmirror is on.

Source                Destination           State          Lag        Status

vfiler1:test1         vfiler5:test1_1       Snapmirrored   00:01:38   Idle

Now you break it:

     On vfiler5: snapmirror break test1_1

with the status on vfiler5:

     snapmirror status

Snapmirror is on.

Source                Destination           State          Lag        Status

vfiler1:test1         vfiler5:test1_1       Broken-off     00:12:44   Idle

Now you change sides and resync from the source:

     On vfiler1: snapmirror resync -f -S vfiler5:test1_1 test1

with the status on source and destination like this:

     On vfiler5:

snapmirror status

Snapmirror is on.

Source                Destination           State          Lag        Status

vfiler1:test1         vfiler5:test1_1       Broken-off     00:32:12   Idle

vfiler5:test1_1       vfiler1:test1         Source         00:05:09   Idle

     On vfiler1:

snapmirror status

Snapmirror is on.

Source                Destination           State          Lag        Status

vfiler5:test1_1       vfiler1:test1         Snapmirrored   00:03:50   Idle

vfiler1:test1         vfiler5:test1_1       Source         00:30:53   Idle

cheers



martin_fisher
3,177 Views

Hi - Whats problems or errors do you receive when you try and reverse the snapmirrors? When you initialize the mirrors, are you connected to the CLI as the errors/problems are normally fairly instantaneous and will appear on the console. They should also be present in the syslog.

Do you have any snapmirrors restrictions, by IP or Hostname at all ?

What options do you have set for snapmirror? <options.snapmirror>

Thanks

wnorthmtitsd
3,177 Views

Thanks for the information.

Turns out we had a misconfiguration in the snapmirror setup related to the ip.

With that fixed, the resync worked as advertised.

Thanks!

Public