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

Invoke-NcSnapmirrorLsUpdate from data vserver ?

PEH
2,539 Views

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
   n
    + FullyQualifiedErrorId : NcClusterCmdlet,DataONTAP.C.PowerShell.SDK.Cmdlets.Snapmirror.InvokeNcSnapmirrorLsUpdate

 

 

 

 

0 REPLIES 0
Public