-
PowerShell Slow to Connect
When connecting (Connect-NcController) my ontap arrays, it can take around 40 seconds to connect to our main one. When I connect to my others ones, it takes around 3-5 seconds. I get no errors, so I am not sure why this is. Is it simply because our main array is busy and API connections have a lower priority? I am running…
-
PowerShell Toolkit stopped working to create shares and cant figure out why
We are running 9.16.1p9 and recently turned off HTTP and HTTPS access to our SVM (recently turned only HTTPS back on) where we host some of our homedrives. This is where the powershell toolkit script is pointed. The SVM has a role that only allows certain behaviors API Access level DEFAULTNoneversionRead-onlyvolume…
-
Set-NcAutoSupportConfig Kinda Works...
When running the following: Set-NcAutoSupportConfig -node $_.node -IsEnabled $true -IsSupportEnabled $true -Transport "https" -MailHosts "mail.domain.tst" -From $autoSupportEmail -To "support@netapp.com" I get an error stating that the 'To' parameter specified, which is not supported for REST call, even though it is in the…
-
Enabling Storage Failover and Disable Auto-Giveback
Does the powershell toolkit have the ability to enable storage failover and disable auto-giveback? Similar to these commands: storage failover modify -node nodename -enabled true storage failover modify -node nodename -auto-giveback false storage failover modify -node nodename -auto-giveback-after-panic false
-
Inconsistency with Get-NcQuotaReport between REST and ONTAPI in PSTK
Trying to update all of our Powershell scripts using the PSTK to use REST, and ran across the following inconsitency: Get-NcQuotaReport is returning KiloByte Values when making a Ontapi call, yet it returns Byte values when making a REST call. And this is a problem, as ocassionally it will silently fallback to using Ontapi…
-
PowerShell Toolkit - Automating Qtree and Share Creation Issues
I am working on some automation using powershell and the powershell toolkit. After creating a qtree and then its share, I am trying to set the 'ShareProperties' parameter, "browsable", which correlates to the checkbox in the UI for "allow client access to snapshot copies directory". It fails saying, "ShareProperties…
-
Powershell Toolkit - some cmdlets don't support REST
I am using Netapp.Ontap module version 9.16.1.2501. I would like to collection fractional reserve settings for volumes. When ontapi is disabled, the Get-NcVolOption fails. PS X:\SCRIPTS> Get-NcVol | Get-NcVolOption | ?{ $_.Name -eq "fractional_reserve" } Get-NcVolOption: API invoke failed:The remote server returned an…
-
netapp.reports proxy?
Looking for some help with NetApp.Reports. mac_linux_RunDataCollector.sh mac_linux_RunUpdater.sh My Mac is behind a proxy. How do I configure it so powershell utilizes the proxy to establish the connection to my NetApp Clusters. Access to the clusters all works fine through my proxied browser. V/r, -Nathan Zingg
-
multiprocessing volume.find behavior
hi everyone, i have noticed that whe using mulitprocessing with python and calling "Volume.find" it sometimes happens that every process receives the same volume object from that call. i managed to handle this behavior using a "lock" that handles this and returns the correct volume to every process. is this something i…
-
na_ontap_cifs_server.py - Module seems to Stop CIFS Server as Default
When running an Ansible job that only sets "use_ldaps". When the Ansible job is run it does enable use_ldaps, but in the process stops the CIFS server. This is not expected as the default for service_stat is null. This should not be changed. Module: na_ontap_cifs_server.py use_ldaps: description:…