When obtaining the usage capacity of end-user servers, we connect to the NetApp server via HTTPS and use the "quota-report-iter" of the OntapClusterAPI. We aim to specify both "uid" and "gid" as the "quota-user-type" input information for retrieval. How can we specify the input in order to achieve this? The language is Perl, and other input information is specified as follows. quota-report-iter->child_add_string("max-records",100000); quota-report-iter->child_add_string("tag",next_tag );
... View more
Hi everyone, I need to automatically at 1am make the .snapshot directory available for a backup and hid the .snapshot directory at 3am after the backup. It just 2 simple commands that is required but it can't be made on the ontap so I'm a bit lost of how can I do it. Anyone kind enough to give me a light please? Thank you in advance.
... View more
Hello. We plan to use the "cluster-remove-node API" to remove ONTAP nodes. As far as I checked the options of "cluster-remove-node API", it seems that the process to execute "eligibility=false" when the node to be removed is the master node is not included. It is difficult to check the contents of the API source code, but does the API actually include processing for "eligibility=false"?
... View more
I am working on a script to update SVM’s credentials via API calls. While exploring the options I have come across swagger documentation for creating/modifying storage (SVMs). While creating/adding storage system is successful, I am trying to update the credential using PUT method (according to documentation. But I am getting the following error that {'Message': "The requested resource does not support http method 'PUT'."}
... View more
Hello All, I am attempting to create a script which will add up the total available and used size of all volume here is my script $vols = Get-NcVol $voltotal = $vols | Measure-Object -Property TotalSize -Sum $voltotalsize = ConvertTo-FormattedNumber $voltotal.sum DataSize -Verbose $volused = $vols | Measure-Object -Property Used -Sum $volusedsize = ConvertTo-FormattedNumber $volused.sum DataSize -Verbose It is giving me wrong numbers I think this is because the get-ncvol give volume size in Gb,Tb and Mb so we basically can not add apple to orange Has anyone everdone that ? can you give me an exemple ?
... View more