Is there a global method of doing this, or do I have configure each of my snapmirror vols separately?
According to the man page anyway, the snapmirror throttle command is on a per volume basis.
Also, never actually scripted SSH before, I cant find any decent pointers,
is this a regular thing to do with filers?
Yup, this is a standard thing for me anyway. Setting up ssh keys to gain passwordless logins to the filers for scripting is also really useful. You could also probably use the Netapp API to do this type of thing.
Another alternative that I though of after reading this tidbit of the snapmirror throttle man page:
The new value will be used only for the current
transfer. The next scheduled transfer will use the kbs value specified in the snapmirror.conf file. If the value for the kbs option in the snapmirror.conf is changed while transfer is going on, then the new value will take effect within two minutes.
Is that you could have a simple script which just changes all the throttle values in the snapmirror.conf file at the time you want the values throttled and sets them back when that timeframe is over.
Good luck, Romeo
On Mon, Mar 30, 2009 at 11:45 PM, David.Ashton@rullion.co.uk wrote:
Hi Toasters
We run our snapmirrors overnight mostly, to a DR site which just happens to be a working office. Sometimes they're still running in the morning, and they eat all the bandwidth. We throttle them in the snapmirror management. We do this manually and its a pain and sometime we forget etc.
What I'd like to do is (probably) script and schedule some SSH commands to set the bandwidth throttle on the volumes so that they are restricted during working hours, but open out of hours. Is there a global method of doing this, or do I have configure each of my snapmirror vols separately?
Also, never actually scripted SSH before, I cant find any decent pointers, is this a regular thing to do with filers?
Thanks Dave Ashton
The information contained in this e-mail and any attachments are intended for the named recipient(s) only. It may also be privileged and confidential. If you are not an intended recipient, you must take no action as a result of receiving it, including, but not limited to copying, distributing and amending it. If this communication has been sent to you in error, please contact us immediately and do not show the communication to any other party.
Rullion shall have no liability whatsoever in respect of the content of the communication and makes no warranty as to accuracy. Any views or opinions presented are solely those of the author.
Viruses:- Although we have taken steps to ensure that this e-mail and attachments are free from viruses, we advise that in keeping with good computing practice, the recipient should ensure they are actually virus free.
This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________