跳转到主内容

如果在 90 秒内未收到响应,则 ZAPI 调用将返回空结果

Views:
3
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
CORE
Last Updated:

适用场景

  • ONTAP 8.3
  • ONTAP 9
  • 迭代 ZAPI 调用

问题描述

如果在 90 秒内未收到响应,迭代 ZAPI 将返回空结果:

 • Query: <?xml version="1.0" encoding="UTF-8"?> <netapp xmlns="http://www.netapp.com/filer/admin" version="1.170"> <snapshot-get-iter> <max-records>100</max-records> <query> <snapshot-info> <name>*</name> <snapshot-version-uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</snapshot-version-uuid> </snapshot-info> </query> </snapshot-get-iter> </netapp> • “Failed” Attempt (ZAPI response taking longer than 90 seconds, with 0 records and the next-tag): <?xml version='1.0' encoding='UTF-8' ?> <netapp version='1.170' xmlns='http://www.netapp.com/filer/admin'> <!-- Output of snapshot-get-iter [Execution Time: 90649 ms] --> <results status='passed'> <next-tag> <snapshot-get-iter-key-td> <key-0>vserver</key-0> <key-1>volume</key-1> <key-2>23742</key-2> <key-3>2am.2021-03-09_0210</key-3> </snapshot-get-iter-key-td> </next-tag> <num-records>0</num-records> <volume-errors> <volume-error> <errno>13023</errno> <name>other_volume</name> <reason>Unable to get information for Snapshot copies of volume "other_volume" on Vserver "vserver". Reason: Volume not online. </reason> <vserver>vserver</vserver> </volume-error> </volume-errors> </results> </netapp> • “Successful” Attempt (no next-tag): <?xml version='1.0' encoding='UTF-8' ?> <netapp version='1.170' xmlns='http://www.netapp.com/filer/admin'> <!-- Output of snapshot-get-iter [Execution Time: 50034 ms] --> <results status='passed'> <attributes-list> <snapshot-info> <access-time>1616803607</access-time> <afs-used>228271562752</afs-used> <busy>false</busy> <compress-savings>0</compress-savings> <compression-type>none</compression-type> <cumulative-percentage-of-total-blocks>13</cumulative-percentage-of-total-blocks> <cumulative-percentage-of-used-blocks>27</cumulative-percentage-of-used-blocks> <cumulative-total>92245576</cumulative-total> <dedup-savings>232762634240</dedup-savings> <dependency/> <inofile-version>4</inofile-version> <is-7-mode-snapshot>false</is-7-mode-snapshot> <is-constituent-snapshot>false</is-constituent-snapshot> <name>snapshot_name</name> <percentage-of-total-blocks>1</percentage-of-total-blocks> <percentage-of-used-blocks>2</percentage-of-used-blocks> <performance-metadata>0</performance-metadata> <snapshot-instance-uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</snapshot-instance-uuid> <snapshot-version-uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</snapshot-version-uuid> <total>4490436</total> <vbn0-savings>33943552</vbn0-savings> <volume>volume</volume> <volume-provenance-uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</volume-provenance-uuid> <vserver>vserver</vserver> </snapshot-info> </attributes-list> <num-records>1</num-records> <volume-errors> <volume-error> <errno>13023</errno> <name>other_volume</name> <reason>Unable to get information for Snapshot copies of volume "other_volume" on Vserver "vserver". Reason: Volume not online. </reason> <vserver>vserver</vserver> </volume-error> </volume-errors> </results> </netapp> 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.