ONTAP Discussions

Invoke-NcSnapmirrorLsUpdate from data vserver ?


Could you please make improvements on this cmdlet to allow usage from a data vserver?

(This is not coherent with ONTAP CLI witch allows a vsadmin to trigger an LS update within the vserver scope)


Currently, this can only be done by connecting trought at the cluster level (see error below)


Invoke-NcSnapmirrorLsUpdate :
| This cmdlet must be directed to the cluster admin vserver.  You are currently  |
| connected to a data vserver.  See the Toolkit web docs (Show-NcHelp) or online |
| help (Get-Help Connect-NcController -Examples) to learn more about directing   |
| Toolkit cmdlets to a cluster or data vserver as required by Data ONTAP.        |
At line:1 char:28
+ Invoke-NcSnapmirrorLsUpdate <<<<  -SourceVserver svmtest -SourceVolume svmtest_root
    + CategoryInfo          : InvalidArgument: (svmtest:NcController) [Invoke-NcSnapmirrorLsUpdate], Exceptio
    + FullyQualifiedErrorId : NcClusterCmdlet,DataONTAP.C.PowerShell.SDK.Cmdlets.Snapmirror.InvokeNcSnapmirrorLsUpdate





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