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 created a test share using the powershell module NetApp.ONTAP 9.12.1.2302 against a NetApp running NetApp Release 9.11.1P7. Connect-NcController <NetApp ClusterName> $global:CurrentNcController.Vserver = <VServerName> Add-NcCifsShare -name Test1 -Oplocks $true -AccessBasedEnumeration $true -ChangeNotify $true -Path /<flexGroupName> The share is successfully created, but does not have the three settings set, so I tried to modify them: Set-NcCifsShare -Name Test1 -Oplocks $true When I do that, it does not give me feedback that something went wrong, but it also does not set the OpLocks to be true. Also, if I have manually turned on one of the three mentioned settings, it turns all three off! I tried it by creating the share with Add-NcCifsShare and using -ShareProperties @("oplocks","accessbasedenumberation","changenotify"), then I get this: Add-NcCifsShare: ShareProperties parameter specified, which is not supported for REST call I will have to create a hundred shares in the next few days, and I really REALLY don't want to do it manually. What am I missing?
... View more
Has anybody done SP firmware update with Powershell command? I tried update-ncserviceprocessorimage -node AAA -package http://2.2.2.2/update.ima -updatetype full It keeps giving an error saying "This update-type is unavailable". or Invalid value specified for "update-type" element. This Powershell Toolkit new release is falling into apart, over 90% of commands don't even work. How NetApp allow such buggy software to be released even ??
... View more
I want use powershell to create a snapvault but when I use new-ncsnapmirrorpolicy command to create the policy, I use -type vault parameter, but it response me a error PS C:\File> New-NcSnapmirrorPolicy -Name mysmpolicy1 -VserverContext svm2 -Type vault New-NcSnapmirrorPolicy : [400]: "vault" is an invalid value for field "type" (<async|sync|continuous>) It tell me just can use async ,sync and continuouse not vault option How to create a snapmirrorpolicy for vault ? Thanks
... View more
Trying to use the New-NcCluster cmdlet to start the cluster setup process. The node IP is configured using node setup and the admin password is set.
The next step is to connect to the node IP using Connect-NcController but the connection fails.
Connect-NcController 192.168.137.201 -Credential $cred
Connect-NcController : Could not connect to 192.168.137.201 on port 80 for protocol HTTP.
At line:1 char:1
+ Connect-NcController 192.168.137.201 -Credential $cred
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (192.168.137.201:NcController) [Connect-NcController], NaConnectionException
+ FullyQualifiedErrorId : HttpConnectionFailed,DataONTAP.C.PowerShell.SDK.ConnectNcController
This shows the connection tried HTTPS then down to HTTP.
Here's an attempt forcing HTTPS
Connect-NcController 192.168.137.201 -Credential $cred -HTTPS
Connect-NcController : database cluster_id_rdb is not open
At line:1 char:1
+ Connect-NcController 192.168.137.201 -Credential $cred -HTTPS
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (192.168.137.201:NcController) [Connect-NcController], EAPIERROR
+ FullyQualifiedErrorId : HttpConnectionFailed,DataONTAP.C.PowerShell.SDK.ConnectNcController
Without a connection the New-NcCluster is useless (obviously).
Also, the web browser interface to run cluster setup doesn't work either - just get a blank page.
This has been attempted on a FAS2552 running 9.6P4 as well as the latest simulator.
Tried PSTK 9.6 and new 9.7.
BTW - this DID work in older versions - but it's been a while since I've tried it so couldn't say WHEN it broke
Any ideas?
... View more
If I want to create a new cluster by using new-nccluster, should the cluster must be already exist and the nodes must already in the cluster?
... View more