ONTAP Discussions

Snapmirror throttle

Fabian1993
5,409 Views

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

1 ACCEPTED SOLUTION

Fabian1993
5,245 Views

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

 

View solution in original post

6 REPLIES 6

Damien_Queen
5,397 Views

Using SnapMirror global throttling

Starting with ONTAP 9.0, global network throttling is available for all SnapMirror and SnapVault transfers at a per-node level.

Fabian1993
5,394 Views

I need a function to schedule  global Network throttling..

TMADOCTHOMAS
5,378 Views

It is:

 

options -option-name replication.throttle.outgoing.max_kbs <amount>

 

If you want unlimited, replace <amount> with the word "unlimited"

Fabian1993
5,367 Views
Did you try it in powershellscript as scheduled Script?

On should in the Office Hours and off in the Night, i will try it.

TMADOCTHOMAS
5,287 Views

Yes, we schedule a script that runs this command.

Fabian1993
5,246 Views

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

 

Public