跳转到主内容

为什么根聚合不会显示在REST API调用中?

Views:
5
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用场景

  • ONTAP 9
  • REST API
  • 根聚合

问题解答

  • REST API旨在仅公开MetroCluster中所有方法(GET、POST、修补和删除)的非根聚合和非远程聚合。
  • 实施此设计注意事项是为了实施根聚合管理最佳实践:根聚合和卷的配置或内容不应修改: 节点根卷和根聚合的规则
  • 但是、 /api/storage/aggregates 如果在查询中指定了根聚合UUID、则REST端点可以检索根聚合的信息:

    ::> set adv

    Warning: These advanced commands are potentially dangerous; use them only when directed to do so by NetApp personnel.
    Do you want to continue? {y|n}: y

    ::*> aggr show -root true -fields uuid
    aggregate uuid
    --------- ------------------------------------
    aggr0     bfcbd17c-492c-4205-a0da-e522eec3b908

    user@linux:~$ curl -s -k -u admin https://10.0.0.1/api/storage/aggregates/bfcbd17c-492c-4205-a0da-e522eec3b908
    Enter host password for user 'admin':
    {
     "uuid": "bfcbd17c-492c-4205-a0da-e522eec3b908",
     "name": "aggr0",
     "node": {
      ...

追加信息

不适用

 

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.