HP Systems Insight Manager 7.2 Command Line Interface Guide

Tool authorization is all or none, meaning that it will fail if the user is not authorized to run the tool
on all nodes in the target list.
Default target node influence on tool
The value of the default targets tool attribute defTargets enables different tool execution behaviors
if no targets are specified on the command line. The following table describes the behavior of tool
execution for all values of defTargets if no target list is specified on the command line:
Use all of the user's authorized nodes as the target list.ALL
The CMS is the only node in the target list.CMS
Error. A target list must be specified.[empty]
The target list specified in the tool definition file is used as the target
list.
user-specified
The value of defTargets is ignored if a target list is specified on the command line. Authorization
for each target node is verified before a tool is executed.
Target execution environment
When a job is executing on a node, its environment contains information gathered on the CMS
and sent to the HP SIM agent on the target nodes. These variables are placed in the environment
in which the tool command runs:
MX_USER. Contains the UNIX login name of the user running the job.
MX_TASKID. The job ID assigned to the job.
MX_TOOL. The toolname (this name might not be the same as the tool script name).
MX_TARGETS. A space-separated list of target nodes for this job.
MX_CMS. The CMS hostname.
MX_REPOSITORY. The hostname of the system containing the SQL Server Service Repository.
DISPLAY. The value copied from the user's environment so tools that use an X Window GUI
can contact the correct X server.
HOME. The home directory of the execution user specified in the tool definition.
SHELL. This is set to /usr/bin/sh.
These variables are set to the empty string:
CLASSPATH
ENV
JAVA_HOME
SHLIB_PATH
In addition to the previously listed variables, the following environment variables are inherited from
the init(1m) process that spawns the agent. These are default values.
INIT_STATE
PATH
A number of environment variables are set automatically by the POSIX shell (/usr/bin/sh). See
the sh-posix(1) manpage for more information.
mxexec 37