The following error i got when i'm running the commands when i'm using ONTAP Select, where we can't configure the service-policy on the lif i have 20 HA ONTAP Select systems, and i'm getting the error below for 2 HA ONTAP Select systems.
when running the following command for svm1 on the cluster "connect-nccontroller svm1 -credential $credential -verbose -debug - https" and providing the right local username/password, we can see the name of the svm and the ontap version, but when running the same command for svm2, we are getting the following error: verbose: trying http/ https connect-nccontroller" cloud not command to svm2 on port 443 for protocol https connect-nccontroller -name svm2 - https -credential $credential -V... category info: invalidresult :(svm1:nccontroller) [connect-nccontroller], naconnectionSSLexception fullyqualifederrorid: httpconnection failed,dataontap.c.powershell.sdk.connnectnccontroller verbose: failed to connect to svm2 verbose: setting value of global:currentnccontroller verbose: starting ems logging verbose: failed to complete emc logging object reference not set to an instance of an object
i have create new ssl certificate for svm1 and svm2, but still not working. ontap powershell version 188.8.131.526 , ontap version 9.5P5
tried running the command for svm2 with the ip of one of the interfaces , svm name, full dns name of the svm. svm1 and svm2 are using "dns load balancing", each svm has 4 lifs.
Sorry for the late respond, I didn't saw any service policy on the ONTAP Select cifs vserver, i only saw that i have service-policy on the cluster (intercluster-core 0.0.0.0/0 and management-bgp 0.0.0.0/0), the same configuration is configured at all the other ONTAP Select that are working.
Please check the command for any syntax errors, along with the configuration for $credential; to eliminate HTTPS or SSL certificate as the issue, simplify the $credential variable configuration and test using HTTP.
Sharing a connection test I used in a lab:
PS LAB> $creds_nc1 = Get-Credential -message 'Please provide password for nc1' PS LAB> $creds_nc2 = Get-Credential -message 'Please provide password for nc2' PS LAB> $nc1 = Connect-NcController lab-cluster1 -Credential $creds_nc1 PS LAB> $nc2 = Connect-NcController lab-cluster2 -Credential $creds_nc2