ONTAP Discussions
ONTAP Discussions
Hi there,
does anyone have an Idea to schedule the global Snapmirror throttling?
Maybe one of us created a Powershell Template?
Thanks for help!
Regards
Fabian
Solved! See The Solution
Build two easy Scirpts and inserted into the Windows Task Scheduler..
Import-Module DataONTAP $password = ConvertTo-SecureString "" -AsPlainText -Force $cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "admin",$password Connect-NcController -Credential $cred -Vserver set-NcOption -Name replication.throttle.enable -Value on Import-Module DataONTAP $password = ConvertTo-SecureString "" -AsPlainText -Force $cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "admin",$password Connect-NcController -Credential $cred -Vserver set-NcOption -Name replication.throttle.enable -Value off
Starting with ONTAP 9.0, global network throttling is available for all SnapMirror and SnapVault transfers at a per-node level.
I need a function to schedule global Network throttling..
It is:
options -option-name replication.throttle.outgoing.max_kbs <amount>
If you want unlimited, replace <amount> with the word "unlimited"
Yes, we schedule a script that runs this command.
Build two easy Scirpts and inserted into the Windows Task Scheduler..
Import-Module DataONTAP $password = ConvertTo-SecureString "" -AsPlainText -Force $cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "admin",$password Connect-NcController -Credential $cred -Vserver set-NcOption -Name replication.throttle.enable -Value on Import-Module DataONTAP $password = ConvertTo-SecureString "" -AsPlainText -Force $cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "admin",$password Connect-NcController -Credential $cred -Vserver set-NcOption -Name replication.throttle.enable -Value off