Microsoft Virtualization Discussions
Microsoft Virtualization Discussions
Hi,
Script was running fine on previous PSTK version so no firewall issues. Today I tested a simple line it can't connect to the cluster in version 9.10.1.
PS C:\Users\sanamn\Scripts> Connect-NcController <Filer FQDN>
Connect-NcController : Invalid URI: The hostname could not be parsed.
At line:1 char:1
+ Connect-NcController <Filer FQDN>
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (Filer FQDN:NcController) [Connect-NcController], UriFormatException
+ FullyQualifiedErrorId : HttpConnectionFailed,DataONTAP.C.PowerShell.SDK.ConnectNcController
My OnTap version is 9.9.1p6. Windows 10 enterprise running Powershell version 5.1
Thanks
Hi,
I upgraded the PSTK to 9.10.1.2111 and tested it against an ONTAP 9.8 cluster. PowerShell version: 5.1.19041.1320 on Windows 10. No issues connecting to the cluster via FQDN or IP Address using:
Connect-NcController -Name <cluster> -HTTPS -Credential (Get-Credential -Credential <user>)
Do you get the same error connecting to the cluster from all systems?
/Matt
I get the same Error with NetApp.ONTAP 9.10.1.2111.
However, this only happens with NcControllers that return both an IPv4 and an IPv6 address during an nslookup. Maybe Connect-NcController of this Version cannot handle domain name lookups that return more than one ip-address.
Hi,
Form 9.10.1.2111 the powershell toolkit uses REST API. Please let me know in which commands you are facing failures, also you can drop us mail on ng-ontap-pstk-queries for any query related to NetApp.Ontap.PowerShell.Toolkit
It's ok. Upgraded my PSTK to 9.13.1.2306 and all good now