HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_NODE_LIMITS
The server holds a backup configuration file.
AP_ROLE_NONE
The server does not share its copy of the configuration file.
3.145.4 Returned Parameters: Parameter Check
If the verb does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
Possible values are:
AP_INVALID_NODE_NAME
The list_options parameter was set to AP_LIST_INCLUSIVE to list all entries starting from the
supplied name, but the node_name parameter was not valid.
AP_INVALID_LIST_OPTION
The list_options parameter was not set to a valid value.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.145.5 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
3.146 QUERY_NODE_LIMITS
QUERY_NODE_LIMITS returns information about the functions that your SNAplus2 license allows you to use on
a particular node, and about your usage of these functions. These are divided into the following categories:
• Node options, which specify the SNAplus2 features that you can use
• Node limits, which specify the maximum numbers of SNAplus2 resources that can be in use on the node at any
time.
• Node resource usage, which specifies the current and peak usage of the resources controlled by node limits.
The information returned by this verb is also written to the usage log file at intervals. For more information about
this file, see HP-UX SNAplus2 Diagnostics Guide.
3.146.1 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 */
592