NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

Snapmirror throttle

Fabian1993
9,026 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
8,862 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
9,012 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
9,009 Views

I need a function to schedule  global Network throttling..

TMADOCTHOMAS
8,993 Views

It is:

 

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

 

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

Fabian1993
8,982 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
8,902 Views

Yes, we schedule a script that runs this command.

Fabian1993
8,863 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