Managing SNAplus2 from NetView

Using UCF

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 to commands related to SNAplus2; subject to the restrictions in “Permitted Commands”, any type of command can be issued.

By using UCF, a remote operator can monitor activity on the SNAplus2 computer, diagnose problems, and in some cases take corrective action.

You can specify whether SNAplus2 supports UCF by using the define_rcf_access command (refer to HP-UX SNAplus2 Administration Command Reference). If the configuration specifies that UCF is supported, SNAplus2 starts the UCF daemon program when the node is started. The UCF daemon processes HP-UX commands from the UCF by starting a new HP-UX shell for each command and running the command in that shell. If UCF support is not included, SNAplus2 does not start this program.

The configuration specifies the name of the UCF user, which must be a valid login name on the SNAplus2 computer. The UCF shell is started using the shell program, login ID, permissions, and .login or .profile specified for that user. (If no shell program is specified, /bin/sh is used.) This means that the normal HP-UX system security features can be used to restrict the UCF user's access to files and commands, and therefore to limit the range of commands available from UCF.

For more information about setting up the UCF configuration, refer to the description of the define_rcf_access command in HP-UX SNAplus2 Administration Command Reference.

UCF Command Syntax

The syntax of a UCF command is as follows:

runcmd sp=spname, appl=unix, HP-UX_command

NetView uses the runcmd utility to send a command to a remote system. The command includes the following parameters:

sp=spname

Chapter 10

243