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.
Stop-NcSis : This operation is not permitted on a Vserver that is configured as the destination for identity discard Vserver DR. I am trying to run Stop-NcSis but getting the above error. Please refer to the screenshot attached. Also tried below cmd: Invoke-NcSsh -Command 'set -privilege diag; vserver config override -command "vol efficiency stop -vserver test_DR -vol source"' Error: unexpected argument "efficiency" - please refer to screenshot.
... View more
Several ONTAP storage clusters are providing ONTAP Connection IDs larger than 64Bit Integer can support. The commands are failing with this error: Get-NcCifsConnection : Error converting value 12930960430088848194 to type 'System.Nullable`1[System.Int64]'. Path 'sessions[0].identifier', line 18, position 40. At line:1 char:1 + Get-NcCifsConnection + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-NcCifsConnection], ArgumentException + FullyQualifiedErrorId : Error converting value 12930960430088848194 to type 'System.Nullable`1[System.Int64]'. Path 'sessions[0].identifier', line 18, position 40.,DataONTAP.C.PowerShell.SDK.Cmdlets.Cifs.GetNcCifsConnection Get-NcCifsSessionFile : Error converting value 12930960430088913433 to type 'System.Nullable`1[System.Int64]'. Path 'session.identifier', line 26, position 38. At line:1 char:1 + Get-NcCifsSessionFile + ~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-NcCifsSessionFile], ArgumentException + FullyQualifiedErrorId : Error converting value 12930960430088913433 to type 'System.Nullable`1[System.Int64]'. Path 'session.identifier', line 26, position 38.,DataONTAP.C.PowerShell.SDK.Cmdlets.Cifs.GetNcCifsSessionFile I have verified the storage clusters ONTAP CIFS Connection IDs are larger the 64Bit integer can handle. 64bit Maximum integer number: 9223372036854775807 ONTAP Session ID: 12930960430088908395
... View more
Storage is running ONTAP 9.14.1, and Powershell toolkit is 9.16.1.2501. I'm trying to use the ONTAP Powershell toolkit on storage that's connected to AD to set up user quotas. Powershell entered a command to generate a user quota and got an error message PS > $Volume = 'userdata_test' PS > $UserID = '1653409' PS > $VServer = ‘svm1_main' PS > New-NcQuota -Volume $Volume -Qtree "" -QuotaTarget $UserID -QuotaType User -DiskLimit 5GB -VserverContext $VServer New-NcQuota : The term 'New-NcQuota' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. + New-NcQuota -Volume $Volume -Qtree "" -QuotaTarget ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFoundL(New-NcQuota:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException What command should I use to create userquota using Powershell toolkit? Thanks&Regards, Geum
... View more
Hey Team, I'm trying to put together a powershell script to run a healthcheck on a NetApp Environment and output a document, similar to the way NetAppDOCS works. I'm new to PS and frankly have no idea where to start, any suggestions on how to get going? I want to check things like capacity, efficiency, etc. My goal is to generate a report from a system that doesn't have ASUP turned on that i could hand to a customer so show them the state of their environment...
... 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