Redundant Host API
returns FALSE. This mode can be used for configuration purposes, for example, to update system software on the host. Setting the status to TRUE brings the host back from the isolation mode to the state in which it can own and acquire domains.
If the parameter Available is FALSE, the target host must not own any domains when this function is called.
6.2.3.13RhGetHostAvailability
Prototype:
HSI_STATUS
RhGetHostAvailability(
IN RH_HANDLE Handle,
IN uint32 Host,
OUT BOOLEAN *pAvailable);
Arguments: |
|
Handle | the handle of the current session |
Host | the host number |
pAvailable | pointer to the variable that receives a Boolean value: TRUE if the |
| specified host is currently available and can own domains, FALSE |
| otherwise (if the host is switched off or isolated from the rest of RH |
| system). |
Return Value: |
|
HSI_STATUS_SUCCESS
returned in the case of success
HSI_STATUS_INVALID_PARAMETER invalid session handle
HSI_STATUS_NOT_SUPPORTED
returned if this function is not supported by the infrastructure
Other,
returned if other errors occurred during execution of this function
Synopsis:
This function can be used to determine whether the specified host in an RH system is up and running and can own domains. Returning *pAvailable=FALSE means that the specified host currently does not participate in RH activities and cannot own domains (for example, is switched off or runs in a special “isolation mode” or is unavailable due to some other reason).
The method of determining the availability status of the host is
High Availability Software for the Intel® NetStructureTM ZT 4901 Technical Product Specification | 55 |