Hello Team, My first post, so in case I missed something or if I missed doing anything first or later, please let me know. Checked 9.8P12 SDK documentation and it lists snapmirror-resync command along with quick-resync. But when we run this command, it fails with error as listed in this KB - https://kb.netapp.com/on-prem/ontap/DP/SnapMirror/SnapMirror-KBs/How_to_run_SnapMirror_reverse_resync_with_quick_resync_parameter It took us a time to get to this KB, as the official doco - https://docs.netapp.com/us-en/ontap-cli/snapmirror-resync.html#parameters does not list that "-type XDP" needs to be specified when using -quick-resync true Anyways, now we know that "-quick-resync true -type XDP" has to be used together, we have been trying to get this to work with SDK and are unable to do so. When I check the SDK doco, it says that during snapmirror create, relationship-type has to be specified, so we have tried different options while invoking the SDK, with quick-resync true, with type XDP or relationship-type extended-data-type (as our relationship is XDP), but unable to get this to work. Has anyone been able to get this snapmirror-resync to work with quick-resync option? Any inputs will help. Regards, -Sumeet.
... View more
Any ideas on why this fails? I have protocol and file-operations set. Thanks. event = FpolicyEvent() event.name = "read" event.svm = {"uuid": svm_uuid} event.get() event.file_operations = {"read": True, "write": True} event.patch() ====== Output from print(event): FpolicyEvent({'protocol': 'nfsv3', 'file_operations': {'read': True, 'write': True}, 'volume_monitoring': False, 'monitor_fileop_failure': False, 'name': 'read', 'svm': {'uuid': '83794749-9b69-11ee-b897-005056b06c96'}}) ======= Traceback (most recent call last): File "f2.py", line 22, in <module> event.patch() File "/usr/local/lib/python3.6/site-packages/netapp_ontap/resources/fpolicy_event.py", line 963, in patch poll_timeout=poll_timeout, **kwargs File "/usr/local/lib/python3.6/site-packages/netapp_ontap/utils.py", line 55, in wrapper return on_api_fail(erro) File "/usr/local/lib/python3.6/site-packages/netapp_ontap/utils.py", line 78, in on_api_fail raise NetAppRestError(cause=erro) from None netapp_ontap.error.NetAppRestError: Caused by HTTPError('400 Client Error: Bad Request for url: https://192.168.0.101:44 3/api/protocols/fpolicy/83794749-9b69-11ee-b897-005056b06c96/events/read',): Required parameter is missing. Reason: Spe cify either " -protocol and -file-operations " or " -protocol, -file-operations and -filters" or none of these three.
... View more
Hello Everyone, I'm trying to get my volume tags set via System Manager with the simple powershell cmdlet "get-ncVol", but "Tags" property is always empty. I've also try the cmdlet with "-zapiCall" parameter, but having the same empty result. powershell SDK 9.15.1.2407 powershell 5.1 Windows 2019 Ontap 9.14.1P8 thanks in advance. Yala
... View more
My customer is creating a quota rule for a specific user using RestAPI, but the call is creating another user " " when the command is run. Example - Created volume and quota, no rule created us01cmqa::> vol show QUOTA_TEST_10 Vserver Volume Aggregate State Type Size Available Used% --------- ------------ ------------ ---------- ---- ---------- ---------- ----- us01cmqavs1 QUOTA_TEST_10 us01cmqat1f03_nvme_aggr1 online RW 100GB 95.00GB 0% us01cmqa::> quota policy rule show -volume QUOTA_TEST_10 -vserver us01cmqavs1 There are no entries matching your query. Executed the API for creating the rule aneeshpa@us01nasadmin3:~ $ curl -X POST -u "user:********" -k -H "accept: application/json" -H "Content-Type: application/json" -d '{"qtree":{"nme":"quota_test_10"},"space":{"hard_limit":"2147483648"},"svm":{"name":"us01cmqavs1"},"type":"user","volume":{"name":"QUOTA_TEST_10"},"users":[{"name":"user1"}]}' { "job": { "uuid": "d0fb5f95-ab22-11f0-9b12-00a098c54541", "_links": { "self": { "href": "/api/cluster/jobs/d0fb5f95-ab22-11f0-9b12-00a098c54541" } } } } With the above API we have created a rule for one user only, but one more extra entry came, wanted to check is there any way to avoid the extra entry us01cmqa::> quota policy rule show -volume QUOTA_TEST_10 -vserver us01cmqavs1 Vserver: us01cmqavs1 Policy: default Volume: QUOTA_TEST_10 Soft Soft User Disk Disk Files Files Type Target Qtree Mapping Limit Limit Limit Limit Threshold ----- -------- ------- ------- -------- ------- ------ ------- --------- user "" "" off - - - - - user aneeshpa quota_test_10 off 2GB - - - - The entry for user - aneeshpa is expected, but customer isn't sure why user " " is also being created
... 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