A few years ago, a colleague created a PowerShell script to throttle active SnapMirror jobs during business hours, and a separate script to unthrottle them at night. The scripts only apply to jobs that run into daytime hours and in some cases continue into a second day. We have to throttle during business hours or it brings these offices to a crawl.
We are about to convert the filers at our remote offices from 7-mode to cdot. Unfortunately, the "snapmirror throttle" command we use in 7-mode doesn't have an equivalent in cdot. i'm looking online and in help to determine the best way to accomplish the same task in cdot. Everything I've found so far adjusts throttling for the next transfer but not the current one. Any ideas?
Here is an example of the script we use for 7-mode:
After researching, I discovered there is no way to throttle a job on the fly anymore, but you can get a close equivalent by aborting and then updating the job with the throttle switch. Or, at least it should work in theory. It's not working in practice so far. I'm actually just manually running commands on my test data now at the cli and the throttle isn't 'taking'. I've got a case open with NetApp but would love to hear ideas anyone might have.
Commands I am running:
Throttle settings before change (while job is running)
snapmirror show -type DP -fields total-progress,throttle,current-throttle