Find Host operation
The Find Host operation finds details of Host or Hosts which satisfy the search criteria.
The following table describes the elements for this request.
Adapter request elements for the Find Host operation
Element | Definition | Required |
---|---|---|
<operation-name> | Specifies the name of the operation: find-host-inventory | 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 the 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 XML element of the <arguments> element
| No |
<host-dp-filter-info | Specifies the parent element that holds search parameter values specific to the data protection policy | No |
<expand-filer-to-vfilers> | Specifies whether to return all the vfiler units belonging to the storage system | No |
<is-dp-ignored> | Lists aggregates that have been set to be ignored for data protection | No |
<is-in-dataset> | Lists hosts that are in a dataset only | No |
<is-in-resourcepool> | Lists hosts that are in a resource pool only | No |
<is-snapmirrored-only> | Lists SnapMirror hosts only Indicates a boolean field | No |
<is-snapvault-primary-only> | Lists the SnapVault primary systems | No |
<is-snapvault-secondary-only> | Lists the SnapVault secondary systems | No |
<is-unprotected> | Lists hosts that are not protected, which means it is:
| No |
<host-types> | Contains a parent element that holds different host-type values, which need to be included in the search | No |
<host-type> | Holds values of the host-type that need to be included in the search | No |
<include-is-available> | Calculates the <is-available status> for each host, which may increase the time taken to call the operation | No |
<include-migration-info> | Returns the migration information for the migrating vFiler units | No |
<include-perf-space-details> | Returns the details of the space consumed by the performance data of the host | No |
<is-direct-member-only> | Returns the hosts that are only the direct members of the specified resource group | No |
<license-filter> | Specifies the filter for listing the storage systems based on the services licensed | No |
<license> | Specifies the name of the licensed Data ONTAP service | Conditional |
<object-management-filter> | Specifies the filter the object based on the Data ONTAP interface that provides complete management for the object i.e. ONTAP CLIs, SNMP, ONTAPI etc.
| No |
<object-name-or-id> | Specifies the name or identifier of an object to list hosts for
| No |
<query-host> | Queries the host to update the database and refresh the values returned in the following elements:
| No |
<vfiler-ipspace> | Specifies the filter for listing vFiler units | No |
A sample adapter request for this operation is given in the following figure.
Sample adapter request for Find Host operation
<operation-name>find-host-inventory</operation-name>
<arguments>
<targets>
<target>
<host>server137</host>
<user-name>username</user-name>
<password encryption-type = "Base64">cGFzc3dvcmQ=</password>
<protocol>http</protocol>
<port>8088</port>
</target>
</targets>
<target />
<expand-filer-to-vfilers>true</expand-filer-to-vfilers>
<host-dp-filter-info>
<is-dp-ignored>false</is-dp-ignored>
<is-in-dataset>false</is-in-dataset>
<is-in-resourcepool>false</is-in-resourcepool>
<is-snapmirrored-only>false</is-snapmirrored-only>
<is-snapvault-primary-only>false</is-snapvault-primary-only>
<is-snapvault-secondary-only>false</is-snapvault-secondary-only>
<is-unprotected>false</is-unprotected>
</host-dp-filter-info>
<host-types>
<host-type>filer</host-type>
</host-types>
<include-is-available>false</include-is-available>
<include-migration-info>false</include-migration-info>
<include-perf-space-details>false</include-perf-space-details>
<is-direct-member-only>false</is-direct-member-only>
<license-filter>
<license>nfs</license>
<license>cifs</license>
</license-filter>
<object-management-filter>node</object-management-filter>
<object-name-or-id>object_name_1</object-name-or-id>
<query-host>false</query-host>
<vfiler-ipspace>ipspace3</vfiler-ipspace>
</arguments>
</netapp-storage-request>
A sample adapter response for this operation is given in the following figure.
Sample adapter response for Find Host operation
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<target>server137</target>
<status>success</status>
<count>1</count>
</metadata>
<output>
<host-info>
<id>1729</id>
<name>netappsim732-1</name>
<host-id>1729</host-id>
<host-name>netappsim732-1</host-name>
<host-fqdn>netappsim732-1.synapse.com</host-fqdn>
<host-address>172.11.11.111</host-address>
<host-type>filer</host-type>
<host-model>Simulator</host-model>
<host-description />
<host-status>up</host-status>
<host-communication-status>up</host-communication-status>
<host-username>root</host-username>
<host-credentials-status>good</host-credentials-status>
<host-perf-info>
<host-perf-status>unknown</host-perf-status>
<is-data-available>true</is-data-available>
</host-perf-info>
<licenses>
<license>nfs</license>
<license>cifs</license>
<license>iscsi</license>
<license>multistore</license>
<license>snapmirror_sync</license>
</licenses>
<service-statuses>
<service-status>
<service>nfs</service>
<status>up</status>
</service-status>
<service-status>
<service>cifs</service>
<status>up</status>
</service-status>
<service-status>
<service>iscsi</service>
<status>up</status>
</service-status>
<service-status>
<service>fcp</service>
<status>down</status>
</service-status>
</service-statuses>
<partner-storage-system-id>0</partner-storage-system-id>
<partner-storage-system-name />
<admin-port />
<admin-transport>http</admin-transport>
<perf-advisor-transport />
<use-hosts-equiv>false</use-hosts-equiv>
<ndmp-communication-status>up</ndmp-communication-status>
<ndmp-communication-timestamp>1279877644</ndmp-communication-timestamp>
<ndmp-credentials-status>good</ndmp-credentials-status>
<ndmp-agent-status>up</ndmp-agent-status>
<ndmp-timestamp>1279877644</ndmp-timestamp>
<host-os>7.3.2</host-os>
<host-version>7.3.2</host-version>
<host-obj-status>critical</host-obj-status>
<ndmp-credentials>
<ndmp-username>root</ndmp-username>
<ndmp-password />
<ndmp-port />
</ndmp-credentials>
<host-dp-info>
<is-dp-ignored>false</is-dp-ignored>
<is-in-dataset>false</is-in-dataset>
<datasets />
<is-snapvault-primary>true</is-snapvault-primary>
<is-snapvault-secondary>true</is-snapvault-secondary>
<is-snapmirror-host>true</is-snapmirror-host>
<is-unix-primary>true</is-unix-primary>
<is-linux-primary>true</is-linux-primary>
<is-windows-primary>true</is-windows-primary>
<is-windows-ofm-primary>true</is-windows-ofm-primary>
<is-nearstore>false</is-nearstore>
<is-snapvault-enabled>true</is-snapvault-enabled>
<is-ndmp-enabled>true</is-ndmp-enabled>
<is-snapmirror-enabled>true</is-snapmirror-enabled>
<snapvault-access-specifier>none</snapvault-access-specifier>
<ndmp-access-specifier>all</ndmp-access-specifier>
<snapmirror-access-specifier>legacy</snapmirror-access-specifier>
<is-agent-ossv-enabled>false</is-agent-ossv-enabled>
<host-resourcepool>DEV_Silver</host-resourcepool>
<snapvault-max-backup-threads />
</host-dp-info>
</host-info>
</output>
</response>
</responses>
</netapp-storage-response>
The following table describes the response elements.
Adapter response elements for the Find Host operation