HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_CENTRAL_LOGGER
3.95 QUERY_CENTRAL_LOGGER
This verb returns the name of the node currently dened as the central logger (the node holding the central log le
to which SNAplus2 log messages from all servers are sent). This verb does not return information about whether
central logging is active; use QUERY_CENTRAL_LOGGING to determine this.
This verb must be issued with a null target handle.
3.95.1 VCB Structure
typedef struct query_central_logger
{
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 reserv3[4]; /* reserved */
unsigned char node_name[128]; /* name of central logger */
} QUERY_CENTRAL_LOGGER;
3.95.2 Supplied Parameters
The application supplies the following parameter:
opcode
AP_QUERY_CENTRAL_LOGGER
3.95.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
secondary_rc
Not used.
node_name
The name of the node dened as the central logger.
3.95.4 Returned Parameters: State Check
If the verb does not execute because of a state error, SNAplus2 returns the following parameters:
primary_rc
AP_STATE_CHECK
secondary_rc
AP_NO_CENTRAL_LOG
No master server is currently active.
356