ONTAP Discussions
ONTAP Discussions
Hi all I am trying to configure my snap mirror for a volume, to do a mirror between 8am to 8pm every 4 hours, Monday - Friday, and every 8 hours on the weekend.
Is this possible on a single line in the /etc/snapmirror.conf file?
Regards
Couldn't come up with a way to represent the schedule on a single line,
but in two lines.
Line 1 -
source_system:{source_volume | /vol/volume_name/qtree_name} dest_system:
{dest_volume | /vol/volume_name/qtree_name} arguments schedule
where schedule is
0 8,12,16,20 * 1-5
Line 2 -
source_system:{source_volume | /vol/volume_name/qtree_name} dest_system:
{dest_volume | /vol/volume_name/qtree_name} arguments schedule
where schedule is
0 0,8,16 * 0,6
Thanks Sawant, so the conf file is smart enough to recognise the two different lines?
I will try and let you know how I go!
Unfortunately 2 lines doesn't work.
/etc/snapmirror.conf: line 9 More than one Snapmirror Specifications for Same Volume, ignoring line
Any other suggestions?
Have you tried Protection Manager? It is in the NMC/NetApp Management Console plugin which is part of the OnCommand Unified Manager (current version is 5.1)... needs a Windows or Linux system (can be a VM with 4GB RAM) then you can schedule policies with PM.
That's my last resort Scott, just trying to avoid adding another piece of management software into the equation!! If there was a CRON format, would be perfect!
Understood...but I am drinking more Kool-aide these days Unfortunately no way in the conf file to do that.. you could run cron from a host to ssh the snapmirror update but still would be something external..