High Availability Monitors Version A.03.02 Release Notes

NOF API Verbs (QUERY Verbs)
QUERY_TP
Chapter 4 961
QUERY_TP
QUERY_TP returns information about TPs that are currently using a
local LU. This verb can be used to obtain information about a specific TP
or about multiple TPs, depending on the options used. This verb returns
information about current usage of the TPs, not about their definition;
use QUERY_TP_DEFINITION to obtain the definition of the TPs.
This verb must be issued to a running node.
VCB Structure
typedef struct query_tp
{
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 *buf_ptr; /* pointer to buffer */
AP_UINT32 buf_size; /* buffer size */
AP_UINT32 total_buf_size; /* total buffer size required */
AP_UINT16 num_entries; /* number of entries */
AP_UINT16 total_num_entries; /* total number of entries */
unsigned char list_options; /* listing options */
unsigned char reserv3; /* reserved */
unsigned char lu_name[8]; /* LU name */
unsigned char lu_alias[8]; /* LU alias */
unsigned char tp_name[64]; /* TP name */
} QUERY_TP;
typedef struct tp_data
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char tp_name[64]; /* TP name */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
AP_UINT16 instance_limit; /* maximum instance count */
AP_UINT16 instance_count; /* current instance count */
AP_UINT16 locally_started_count; /* locally started instance */
/* count */
AP_UINT16 remotely_started_count; /* remotely started instance */
/* count */