ONTAP Discussions

Snapmirror throttle

Fabian1993

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

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

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

I need a function to schedule  global Network throttling..

TMADOCTHOMAS

It is:

 

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

 

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

Fabian1993
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

Yes, we schedule a script that runs this command.

Fabian1993

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

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public