High Availability Monitors Version A.03.02 Release Notes
NOF Indications
SERVER_INDICATION
Chapter 6 1149
SERVER_INDICATION
This indication is generated when the SNAplus2 software is started or
stopped on another computer on the LAN or when a server's role as
master or backup server changes. A NOF application can use these
indications to keep track of which servers are currently active or to
determine when a new server has successfully taken over as master.
Server indications are also generated (for SNAplus2 internal use) when
the status of other SNAplus2 components on a server changes. If the
application needs to use server indications as described above, it should
check the
status
and
flags
parameters for changes; it can ignore any
server indications where these parameters do not indicate a change.
The REGISTER_INDICATION_SINK verb used to register for server
indications should be issued with a null target handle; it is not
associated with any particular target.
VCB Structure
typedef struct server_indication
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char data_lost; /* previous indication lost */
AP_UINT32 status; /* node status */
AP_UINT32 flags; /* is server master or backup? */
unsigned char server_name[64]; /* name of server */
} SERVER_INDICATION;
Parameters
opcode
AP_SERVER_INDICATION
primary_rc
AP_OK
data_lost
Speciļ¬es whether any previous server indications have
been lost. If SNAplus2 detects a condition that
prevents it from sending an indication (for example an