Software Development Kit (SDK) and API Discussions
we are using a script that updates the SnapMirror XDP destinations of vmware datastores and if furthermore needed also the SnapMirror DP destnation volumes of the backup volumes (XDP to DP cascade).
This script has been working fine in 7-Mode and VSC 4.2.X but now after upgrading to C-Mode (8.3.1) the script does not work as expected at this particular line:
$conn = Connect-NcController -name $SVMConfig.MgmtIP -HTTPS -Credential $cred
If this is committed manually the correct value is returned, on the other hand if committed by the script the output fails/is empty.
Any ideas what could be the cause of this?
How can you be sure that that's the wrong line? Is there any error log?
Can you please post more of the script? It will help with troubleshooting.
Is the value of "$global:CurrentNcController" correctly populated after the Connect-NcController command?
The NetApp Support Site won an Association of Support Professionals Best Support Website in 2022 award.
Live Chat, Watch Parties, and More!