Redundant Host API

Get domain software connection status. This function returns the current state of the specified domain with respect to software connection/disconnection. There exist two stable (DISCONNECTED, CONNECTED) and two transitional (DISCONNECTING, CONNECTING) states.

This function can be used during a cooperative switchover to track progress of a pending software connection or disconnection request.

The function can be called on a host that does not own the domain.

6.2.5.5RhGetSlotSwConnectionStatus

Prototype:

HSI_STATUS

RhGetSlotSwConnectionStatus(

IN RH_HANDLE Handle,

IN PHYSICAL_SLOT_ID Slot,

OUT RH_DOMAIN_SWC_STATE *pState );

Arguments:

 

Handle –

the handle of the current session

Slot –

the physical slot number to query state for

pState –

pointer to the variable that receives the state

Return Value:

 

HSI_STATUS_SUCCESS returned in the case of success

HSI_STATUS_INVALID_PARAMETER

invalid session handle or the specified slot does not exist

HSI_STATUS_NOT_SUPPORTED

returned if this function is not supported by the infrastructure

Other, implementation-defined HSI_STATUS values

returned if other errors occurred during execution of this function

Synopsis:

Get physical slot software connection status. This function returns the current state of the specified slot with respect to software connection/disconnection. There exist two stable (DISCONNECTED, CONNECTED) and two transitional (DISCONNECTING, CONNECTING) states.

This function can be used during a cooperative switchover to track progress of a pending software connection or disconnection request on a per-slot basis.

The function can be called on a host that does not own the domain to which the slot belongs.

6.2.5.6RhPerformSwitchover

Prototype:

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

67

Page 67
Image 67
Intel ZT 4901 manual RhGetSlotSwConnectionStatus, RhPerformSwitchover