Data Replication Using SnapMirror16-9
5XOHVIRU6SHFLI\LQJWKH8SGDWH6FKHGXOH
The schedule in each /etc/snapmirror.conf entry contains four fields:
minute
hour
day of month
day of week
The fields are separated from each other by a space. If a field contains more than one
value, the values are separated from each other by a comma. A field containing an
asterisk (*) means that the field is irrelevant. If you specify an asterisk in each field of
the schedule, the filer updates the mirror every minute.
The update schedule is mandatory. The filer generates an error message if a
/etc/
snapmirror.conf entry does not contain a schedule.
([DPSOH
filerA:vol1 filerB:vol2 kbs=2000 45 10,11,12,13,14,15,16 * 1,2,3,4,5
In this example, /vol/vol1 on filerA is replicated to /vol/vol2 on filerB. Data is replicated
at a maximum rate up to 2,000 kilobytes per second. FilerB updates
/vol/vol2 at
10:45a.m., 11:45 a.m., 12:45 p.m., 1:45 p.m., 2:45 p.m., 3:45 p.m., and 4:45 p.m.,
Monday through Friday. The asterisk in this example means that the mirror update
schedule is not affected by the day of month.
:KHQ&KDQJHVWRVQDSPLUURUFRQI7DNH(IIHFW
If SnapMirror is enabled, the changes take effect within two minutes. If SnapMirror is
disabled, the changes take effect immediately after you enter the vol snapmirror
on command to enable the feature.
5HFRPPHQGDWLRQ
You can create a single /etc/snapmirror.conf file for your site and copy it to all the filers
that use SnapMirror. The /etc/snapmirror.conf file can contain entries pertaining to
other filers. For example, the /etc/snapmirror.conf file on filerB can contain an entry
for replicating a volume from filerC to filerD. When filerB reads the
/etc/snapmirror.conf file, it simply ignores this entry.
5HSOLFDWLQJD9ROXPH
'HVFULSWLRQ
Replicate a volume if you are in any situation described in Purposes of SnapMirror.
You can replicate a volume at any time. After you replicate a volume, you have a mirror
that contains the same data as the source volume.