Redundant Host API

PhysSlot

the physical slot number (represented as combination of Shelf ID and

 

Slot ID)

pDomain

pointer to the variable where the number of the domain is placed

Return Value:

 

HSI_STATUS_SUCCESS

returned in the case of success

HSI_STATUS_INVALID_PARAMETER invalid session handle

Other implementation-defined HSI_STATUS values

returned if other errors occurred during execution of this function

Synopsis:

Get the domain that owns the specified slot. This function is used to retrieve the number of the domain to which the specified physical slot currently belongs.

The physical slot is represented by its Shelf ID and the Slot ID inside the shelf.

6.2.3.8RhGetCurrentHostNumber

Prototype:

HSI_STATUS

RhGetCurrentHostNumber(

IN RH_HANDLE Handle,

OUT uint32 *pHost);

Arguments:

 

Handle

the handle of the current session

pHost

pointer to the variable where the current host number is placed

Return Value:

 

HSI_STATUS_SUCCESS

returned in the case of success

HSI_STATUS_INVALID_PARAMETER invalid session handle

Other, implementation-defined HSI_STATUS values

returned if other errors occurred during execution of this function

Synopsis:

This function returns the number of the current host in an RH system (that is, the host on which this function has been called).

6.2.3.9RhGetHostCount

Prototype:

High Availability Software for the Intel® NetStructureTM ZT 4901 Technical Product Specification

51

Page 51
Image 51
Intel ZT 4901 manual RhGetHostCount, RhGetCurrentHostNumber Rhhandle Handle OUT uint32 *pHost