HP-UX SNAplus2 R7 NOF Programmer's Guide
Introduction to the NOF API
NOF Verbs to Manage Specific SNAplus2 Functions
• ADD_DLC_TRACE, REMOVE_DLC_TRACE
If you want to activate tracing to diagnose problems with other SNAplus2 kernel components or to deactivate it
after collecting the required data, use the following verb:
• SET_TRACE_TYPE
If you want to activate tracing to diagnose problems with communications between clients and servers across the
SNAplus2 LAN or to deactivate it after collecting the required data, use the following verb:
• SET_CS_TRACE
If you want to activate tracing to diagnose problems with communications between current-level and back-level
computers (in a client-server system where you are in the process of migrating to a new level of the SNAplus2
software) or to deactivate it after collecting the required data, use the following verb:
• SET_BCK_CS_TRACE
If you want to activate tracing to diagnose problems with the SNAplus2 TN server feature or to deactivate it after
collecting the required data, use the following verb:
• SET_TN_SERVER_TRACE
The default files used for trace data are as follows:
•
/var/opt/sna/sna1.trc and /var/opt/sna/sna2.trc for tracing on a particular computer
• /var/opt/sna/snacs1.trc and /var/opt/sna/snacs2.trc for LAN tracing
• /var/opt/sna/snabcs1.trc and /var/opt/sna/snabcs2.trc for back-level client-server tracing
• /var/opt/sna/snatnsv1.trc and /var/opt/sna/snatnsv2.trc for TN server tracing
If you want to use different files or directories for either of these trace types or to send all tracing of a particular
type to one file instead of two files, use the following verb:
• SET_TRACE_FILE
To check the current settings for a particular trace type or to check the files used for a particular trace type, use the
following verbs:
• QUERY_DLC_TRACE, QUERY_TRACE_TYPE, QUERY_CS_TRACE, QUERY_BCK_CS_TRACE,
QUERY_TN_SERVER_TRACE, QUERY_TRACE_FILE
1.5.15 Managing Directory Entries
If the local node is a LEN node, you need to set up entries in the local node’s directory to identify the adjacent
nodes that SNAplus2 will communicate with and the LUs associated with these nodes. If a particular node contains
a range of LUs with similar names, you can set up wildcard entries in the directory to indicate that all LUs in the
range are on the specified node.
To define a node and the LUs associated with it, use the following verb:
• DEFINE_ADJACENT_LEN_NODE
To obtain information about a specific node or LU entry in the database (however, this verb cannot be used to return
information about wildcard entries), use the following verb:
• QUERY_DIRECTORY_ENTRY
To obtain information about a specific LU entry or wildcard entry in the database, use the following verb:
• QUERY_DIRECTORY_LU
To obtain statistical information about directory entries, use the following verb:
• QUERY_DIRECTORY_STATS
59