Rescan Hba operation
The Rescan Hba operation allows you to issue a request for rescanning the specified host bus adapter on an ESX Server to detect new storage devices.
The following table describes the elements for the adapter request.
Adapter request elements for the Rescan Hba operation
Element | Definition | Required |
---|---|---|
<operation-type> | Defines the type of operation: Host | Yes |
<operation-name> | Defines the name of operation: Rescan_Hba | Yes |
<soap-url> | Specifies the URL for the remote SOAP service running on the VMware VirtualCenter | No |
<transport> | Specifies the transport protocol for the message | No |
<user-name> | Specifies the user name that is used for HTTP basic authentication on the VMware Virtual Center | No |
<password> | Specifies the password corresponding to <user-name> | Conditional; required if <user-name> is specified |
<parameters> | Contains the <host-system> element required to execute the operation | Yes |
<host-system> | DNS name of the host for which the network configuration details are to be retrieved | Yes |
<hba-device> | Specifies the device on the host bus adapter that you want to scan | Yes |
The following code sample shows the sample adapter request for the Rescan Hba operation.
Sample adapter request for the Rescan Hba operation
<operation-type>Host</operation-type>
<operation-name>Rescan_Hba</operation-name>
<soap-url></soap-url>
<transport></transport>
<user-name></user-name>
<password></password>
<parameters>
<host-system>xyz.bmc.com</host-system>
<hba-device>vmhba32</hba-device>
</parameters>
</vmware-infrastructure-request>
The following code sample shows the response for the sample Rescan Hba operation.
Sample adapter response for the Rescan Hba operation
<metadata>
<status>success</status>
</metadata>
<RescanHbaResponse></RescanHbaResponse>
</vmware-infrastructure-response>