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
Hello I installed the PowerShell Toolkit on my PC to shutdown the NetApp FAS2720 What is the first command in PS to load the Toolkit? And where have I to run the command on the Cluster or each node? Thanks in advance
... View more
We're migrating our datacenters to Hyper-V/SCVMM from VMware and through this process we started using the SMI-S Provider with SCVMM 2022. I noticed today that all easy to find references to SMI-S Provider are missing from the NetApp Support site... They can still be found through search, but are all marked as "Legacy". Given that SCVMM only supports SAN Arrays through either SMI-S or SMP, what is the plan moving forward for this, given how many orgs are moving away from VMWare and into Hyper-V/Azure Stack HCI as a solution? Presumably the way to go would be SMB shares, but given that the SMI-S provider is still required to be able to add NetApp hosted SMB shares (No WSMAN on NetApp so the "Add File Share" option fails), this leaves me in a bit of a predicament.
... View more
I want to change a SVM's subtype in powershell, So I create template and user Update-Ncvserver command to perform the code is like this $qsubtype = Get-NcVserver -Template Initialize-NcObjectProperty $qsubtype Vserver $qsubtype.Vserver = (Get-NcVserver svmtest).Vserver $asubtype = Get-NcVserver -Template Initialize-NcObjectProperty $asubtype Subtype,VserverSubtype $asubtype.Subtype = 'default' Update-NcVserver -Query $qsubtype -Attributes $asubtype NcController : 192.168.1.87 SuccessCount : 1 FailureCount : 0 InprogressCount : SuccessList : {svmtest} FailureList : {} InprogressList : And I can see the result is success from the output But when I verify,I found the subtype is stlll not change PS D:\> (Get-NcVserver svmtest).subtype default PS D:\> (Get-NcVserver svmtest).VserverSubtype default What's wrong with my powershell code? How can I make it sucessful? Thanks
... View more