ONTAP Discussions

Snapmirror throttle

Fabian1993
6,558 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
6,394 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
6,546 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
6,543 Views

I need a function to schedule  global Network throttling..

TMADOCTHOMAS
6,527 Views

It is:

 

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

 

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

Fabian1993
6,516 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
6,436 Views

Yes, we schedule a script that runs this command.

Fabian1993
6,395 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