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 synchronous or asynchronous question

OLIVERLEACH
11,076 Views

Just need some clarification on a couple of points around SnapMirror in synchronous or asynchronous mode:

1 - How can I set up SnapMirror to do asynchronous mirroring? Is there a setting somewhere I need to configure to tell SnapMirror to run asynchronously?

2 - What happens if a block does not get copied when using asynchronous mirroring? Does the whole lun or volume I am copying become corrupted as that 1 block is missing? How does NetApp work around this?

Many thanks

Oli

1 ACCEPTED SOLUTION

spence
11,076 Views

How about you start with this : http://www.netapp.com/us/media/tr-3446.pdf and http://www.netapp.com/us/media/tr-3326.pdf

Q: How can I set up SnapMirror to do asynchronous mirroring? Is there a setting somewhere I need to configure to tell SnapMirror to run asynchronously?

A: It does Async by default.  You have to make config entries for sync and semi-sync.

Q: What happens if a block does not get copied when using asynchronous mirroring? Does the whole lun or volume I am copying become corrupted as that 1 block is missing? How does NetApp work around this?

A: SnapMirror is a TCP\IP based technology, thus transmission is ensured based up the IP stack.  If extra paranoid you enable checksums.

View solution in original post

3 REPLIES 3

aborzenkov
11,076 Views

You set sync or asycn in /etc/snapmirror.conf. Default is async.

SnapMirror async transfers snapshots. Until snapshot is completely transferred you always see previous volume state. If there was error during transmission, it will retry from the last check point.

spence
11,077 Views

How about you start with this : http://www.netapp.com/us/media/tr-3446.pdf and http://www.netapp.com/us/media/tr-3326.pdf

Q: How can I set up SnapMirror to do asynchronous mirroring? Is there a setting somewhere I need to configure to tell SnapMirror to run asynchronously?

A: It does Async by default.  You have to make config entries for sync and semi-sync.

Q: What happens if a block does not get copied when using asynchronous mirroring? Does the whole lun or volume I am copying become corrupted as that 1 block is missing? How does NetApp work around this?

A: SnapMirror is a TCP\IP based technology, thus transmission is ensured based up the IP stack.  If extra paranoid you enable checksums.

OLIVERLEACH
11,076 Views

Thanks guys. Appreciate your answers.

Public