Examples Of Spcf Commands - HP -UX SNAplus2 Administration Manual

Hewlett-packard owner's manual
Table of Contents

Advertisement

Managing SNAplus2 from NetView
Using SPCF
To provide security, you can set up the SNAplus2 configuration 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, initialize_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 define_rcf_access command in HP-UX
SNAplus2 Administration Command Reference.

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
242
Chapter 10

Advertisement

Table of Contents
loading

Table of Contents