Find Aggregate operation
The Find Aggregate operation lists all the aggregates contained in a Resource Group, Resource Pool, Dataset, Storage Set, Host, Aggregate, Volume, or Qtree.
The following table describes the elements for this request.
Adapter request elements for the Find Aggregate operation
Element | Definition | Required |
---|---|---|
<operation-name> | Specifies the name of the operation: find-aggregate | Yes |
<arguments> | Specifies a list of arguments required for the operation | Yes |
<targets> | Contains the parent XML element for the <target> element, which specifies the dynamic targets | Conditional; required if the adapter configuration is empty in Grid Manager |
<target> | Contains the child XML <targets> element, which specifies the dynamic targets | Conditional; required if <targets> is present in the adapter request |
<host> | Specifies the host name or IP address of the server on which NetApp DataFabric Manager is running | Conditional; required if <targets> is present in the adapter request |
<user-name> | Specifies the user name required to log on to NetApp DataFabric Manager | Conditional; required if <targets> is present in the adapter request |
<password> | Specifies the password that corresponds to the <user-name> | Conditional; required if <targets> is present in the adapter request |
<protocol> | Specifies the communication protocol used by the adapter | No |
<port> | Specifies the port on which NetApp DataFabric Manager is enabled | No |
<target> | Specifies the child element of the <arguments> element
| No |
<aggregate-type> | Specifies the filter by type of aggregate; if you do not specify the aggregate-type input, the response lists all aggregate types | No |
<include-is-available> | Specifies the is-available status for an aggregate | No |
<is-dp-ignored> | Identifies the aggregates that are set to be ignored for the purposes of data protection | No |
<is-in-dataset> | Identifies the aggregates that contain data protected by a dataset | No |
<object-name-or-id> | Specifies the name or identifier of an object to list the aggregates for
| No |
<resourcepool-filter> | Identifies aggregates that are in a resource pool or that are not in a resource pool | No |
A sample adapter request for this operation is given in the following figure.
Sample adapter request for Find Aggregate operation
<operation-name>find-aggregate</operation-name>
<arguments>
<targets>
<target>
<host>172.11.11.111</host>
<user-name>username</user-name>
<password encryption-type = "Base64">cGFzc3dvcmQ=</password>
<protocol>http</protocol>
<port>8088</port>
</target>
</targets>
<target />
<aggregate-type>aggregate</aggregate-type>
<include-is-available>true</include-is-available>
<is-dp-ignored>false</is-dp-ignored>
<is-in-dataset>false</is-in-dataset>
<resourcepool-filter>all</resourcepool-filter>
</arguments>
<arguments>
<target>Server134</target>
<aggregate-type>aggregate</aggregate-type>
<include-is-available>true</include-is-available>
<is-dp-ignored>false</is-dp-ignored>
<is-in-dataset>false</is-in-dataset>
<resourcepool-filter>all</resourcepool-filter>
</arguments>
</netapp-storage-request>
A sample adapter response for this operation is given in the following figure.
Sample adapter response for Find Aggregate operation
<metadata>
<status>success</status>
<response-count>2</response-count>
<Indi/metadata>
<responses>
<response>
<metadata>
<status>success</status>
<count>5</count>
</metadata>
<output>
<aggregate-info>
<aggregate-id>155</aggregate-id>
<aggregate-name>netappsim4:aggr0</aggregate-name>
<filer-name>netappsim4</filer-name>
<aggregate-status>warning</aggregate-status>
<aggregate-perf-status>unknown</aggregate-perf-status>
<filer-id>153</filer-id>
<is-available>true</is-available>
<is-dp-ignored>false</is-dp-ignored>
<is-in-dataset>false</is-in-dataset>
<datasets />
<aggregate-type>aggregate</aggregate-type>
<block-type>32_bit</block-type>
<aggregate-nearly-full-threshold />
<aggregate-full-threshold />
<time-to-full />
<aggregate-space-status>ok</aggregate-space-status>
<aggregate-nearly-overcommitted-threshold />
<aggregate-overcommitted-threshold />
<aggregate-size>
<size-used>255713280</size-used>
<size-available>461512704</size-available>
<size-total>717225984</size-total>
<space-total-committed>253607936</space-total-committed>
</aggregate-size>
</aggregate-info>
<aggregate-info>...</aggregate-info>
<aggregate-info>...</aggregate-info>
</output>
</response>
<response>
<metadata>
<status>success</status>
<count>5</count>
</metadata>
<output>
<aggregate-info>...</aggregate-info>
<aggregate-info>...</aggregate-info>
</output>
</response>
</responses>
</netapp-storage-respons>
The following table describes the response elements.
Adapter response elements for find-aggregate operation