Discuss NetApp solutions for Microsoft Private Cloud and the Hyper-V platform, including FlexPod Datacenter, OnCommand Plug-in for Microsoft, and ONTAP PowerShell Toolkit.
Discuss NetApp solutions for Microsoft Private Cloud and the Hyper-V platform, including FlexPod Datacenter, OnCommand Plug-in for Microsoft, and ONTAP PowerShell Toolkit.
I have just upgrade a lab controller to 9.3 so I could test some deployment scripts. Part of my scripts issue "Invoke-NcSsh" commands because a commandlet is not working as intended or does not exsist. I had originally thought it was an issue with the 4.4 verion of the powershell toolkit. I upgraded to 4.5 and I am still getting the same error. See error below: "Invoke-NcSsh : An established connection was aborted by the software in your host machine." Everything works from 9.0 - 9.2P1, but not in 9.3. Any help would be great.
... View more
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
... View more
Hi, I'm using PSTK 9.8.0 and have the problem, that invoke-ncssh can't connect to the cluster since I removed hmac-sha1. The error message is: invoke-ncssh : Server HMAC algorithm not found Putty can connect without any problems. Is there any way to use other mac-algorithms for invoke-ncssh? BTW PSTK 9.10.1.2111 can neither connect even when the hmac-sha1 isn't removed. The message here is: invoke-ncssh : An established connection was aborted by the server And on the cluster I found this message: no matching host key type found. Their offer: ssh-rsa,ssh-dss Any sugestions?
... View more
Hi, if I write the output from Get-NcCifsSessionFile in variable I got often the XML error message. Any suggestion to solve the error? DataOntap 9.8.0 $OpenFilesNC = Get-NcCifsSessionFile -VserverContext $srv | Select Vserver,Share,ShareMode,OpenMode,Path,FileId Error: Get-NcCifsSessionFile : There is an error in XML document (1, 6000). At + ... $OpenFilesNC = Get-NcCifsSessionFile -VserverContext $srv |Select ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (.............. :NcController) [Get-NcCifsSessionFile], InvalidOperationException + FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Cifs.GetNcCifsSessionFile
... View more