HP-UX SNAplus2 R7 Administration Guide

Managing SNAplus2 from NetView
Using UCF
administration program, in the same format as you would specify it to the
snapadmin
program on the HP-UX
command line. Refer to HP-UX SNAplus2 Administration Command Reference for information about the syntax of
administration commands and the parameters for individual commands.
10.2.1 Restrictions on Administration Commands Used with SPCF
Administration commands associated with a specic nodes resources (for example, the query_node and
define_local_lu commands) are sent to the node associated with the service point name specied on the
SPCF command. You cannot use the -n option to specify a different node name; therefore you cannot issue
commands to a specic node unless this node is associated with a service point name at NetView. Commands that
are associated with domain resources or with the SNA network data le, and not with a specic node, can always
be issued. For information about whether a command is associated with a node, with domain resources, or with the
SNA network data le, refer to the description of each command in HP-UX SNAplus2 Administration Command
Reference.
You cannot use the command-line option -i to specify input from a le or from standard input. All commands
must be entered directly at the NetView console.
With query_* commands, you can use the command-line options -a (return all entries) and -d (return detailed
information) in the same way as when entering commands on the HP-UX command line.
To provide security, you can set up the SNAplus2 conguration so that only certain types of commands are permitted
from SPCF. For example, you can permit remote users to issue query_* commands, but not to activate or deactivate
SNAplus2 components. You can control access separately for each of the following groups of commands:
define_*, set_*, delete_*, add_*, and remove_* commands, and also init_node
query_* commands
•“Action commands: start_*, stop_*, activate_*, deactivate_*, and also aping, initial-
ize_session_limit, change_session_limit, and reset_session_limit
For more information about setting up security options for SPCF, refer to the description of the de-
fine_rcf_access command in HP-UX SNAplus2 Administration Command Reference.
10.2.2 Examples of SPCF Commands
The following example shows how you could issue the define_lu_0_to_3 command using SPCF. This example
uses backslash characters to indicate uppercase letters in the two character strings LU$01 and PU2. There is no
need to make the characters in the constant name 3270_display_model_2 uppercase, because the
snapadmin
program accepts this string in lowercase.
runcmd sp=myspname, appl=node, define_lu_0_to_3, lu_name=\l\u$01,
nau_address=1, pu_name=\p\u2, lu_model=3270_display_model_2
The following example shows how you could issue the query_lu_0_to_3 command using SPCF. The -a option
indicates return all entries, so there is no need to specify an LU name or PU name. The -d option indicates
return detailed information, so there is no need to specify this using the list_options parameter. These two options
act in exactly the same way as for the
snapadmin
program.
runcmd sp=myspname, appl=node, -a -d query_lu_0_to_3
10.3 Using UCF
UCF enables a NetView operator to issue HP-UX commands on a computer running SNAplus2 by typing the
command text at the NetView console, and to view output from these commands. The facility is not restricted
139