High Availability Monitors Version A.03.02 Release Notes
NOF API Verbs (QUERY Verbs)
QUERY_NODE_LIMITS
Chapter 4 837
QUERY_NODE_LIMITS
QUERY_NODE_LIMITS returns information about the functions that
your SNAplus2 license allows you to use on a particular node. These are
divided into two categories:
• Node options, which specify the SNAplus2 features that you can use
• Node limits, which specify the maximum numbers of LUs, sessions,
and users that can use the node at any time.
The verb also returns information about the current usage of the
parameters controlled by node limits.
VCB Structure
typedef struct query_node_limits
{
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 */
NODE_RESOURCE_LIMITS max_limits; /* max numbers of LUs/sessions/users */
NODE_RESOURCE_LIMITS curr_usage; /* current usage of LUs/sessions/users*/
NODE_OPTIONS node_options; /* permitted functions */
unsigned char reserv4[4]; /* reserved */
NODE_RESOURCE_LIMITS max_usage; /* highest usage counts */
} QUERY_NODE_LIMITS;
typedef struct node_resource_limits
{
AP_INT32 num_lu_0_to_3_lus; /* type0-3LUs */
AP_INT32 num_lu_0_to_3_sessions; /* type 0 - 3 sessions */
AP_INT32 num_local_lus; /* local APPC LUs */
AP_INT32 num_appc_sessions; /* APPC sessions */
AP_INT32 num_intermediate_sessions; /* ISR sessions */
AP_INT32 num_user_sessions; /* total APPC and LU 0 - 3 sessions */
AP_INT32 num_sna_users; /* users */
AP_INT32 num_total_sessions; /* total licensed sessions */
AP_INT32 reserv1[2]; /* reserved */
} NODE_RESOURCE_LIMITS;