Netapp Snap Mirror Setup Guide
Netapp Snap Mirror Setup Guide
Snapmirrror needs a source and destination filer. (When source and destination
are the same filer, the snapmirror happens on local filer itself. This is when you
have to replicate volumes inside a filer. If you need DR capabilities of a volume
inside a filer, you have to try syncmirror ).
When the Synchronous SnapMirror feature is enabled, the source system forwards data
to the destination system as it is written in NVRAM. Then, at the consistency point, the
source system sends its data to disk and tells the destination system to also send its
data to disk.
This guides you quickly through the Snapmirror setup and commands.
2) Snapmirror Access
Make sure destination filer has snapmirror access to the source filer. The
snapmirror filer's name or IP address should be in /etc/snapmirror.allow. Use
wrfile to add entries to /etc/snapmirror.allow.
Snapmirror is always destination filer driven. So the snapmirror initialize has to be done on
destination filer. The below command starts the baseline transfer.
Qtree Snapmirror : For qtree snapmirror, you should not create the destination qtree. The
snapmirror command automatically creates the destination qtree. So just volume creation of
required size is good enough.
Qtree SnapMirror determines changed data by first looking through the inode file for
inodes that have changed and changed inodes of the interesting qtree for changed data
blocks. The SnapMirror software then transfers only the new or changed data blocks
from this Snapshot copy that is associated with the designated qtree. On the
destination volume, a new Snapshot copy is then created that contains a complete
point-in-time copy of the entire destination volume, but that is associated specifically
with the particular qtree that has been replicated.
5) Snapmirror schedule : This is the schedule used by the destination filer for
updating the mirror. It informs the SnapMirror scheduler when transfers will be
initiated. The schedule field can either contain the word sync to specify
synchronous mirroring or a cron-style specification of when to update the
mirror. The cronstyle schedule contains four space-separated fields.
If you want to sync the data on a scheduled frequency, you can set that in
destination filer's /etc/snapmirror.conf . The time settings are similar to Unix
cron. You can set a synchronous snapmirror schedule in /etc/snapmirror.conf by
adding “sync” instead of the cron style frequency.
Snapmirror do provide multipath support. More than one physical path between a source
and a destination system might be desired for a mirror relationship. Multipath support
allows SnapMirror traffic to be load balanced between these paths and provides for
failover in the event of a network outage.