Well you can do it on a per secondary basis as well, but that does not solve the times. I’ve always used rsh to do this kind of stuff in the past but the security implications scare me now.


From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Romeo Theriault
Sent: Monday, March 30, 2009 11:32 AM
To: David.Ashton@rullion.co.uk; toasters@mathworks.com
Subject: Re: Throttling

 

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
________________________________________________________________________




--
Romeo Theriault
System Administrator
Information Technology Services

Please be advised that this email may contain confidential information.
If you are not the intended recipient, please do not read, copy or
re-transmit this email. If you have received this email in error,
please notify us by email by replying to the sender and by telephone
(call us collect at +1 202-828-0850) and delete this message and any
attachments. Thank you in advance for your cooperation and assistance.

In addition, Danaher and its subsidiaries disclaim that the content of
this email constitutes an offer to enter into, or the acceptance of,
any
contract or agreement or any amendment thereto; provided that the
foregoing disclaimer does not invalidate the binding effect of any
digital or other electronic reproduction of a manual signature that is
included in any attachment to this email.