HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

s
swjob(1M) swjob(1M)
The optional command_name prefix denotes one of the SD commands. Using the prefix limits the change
in the default value to that command. If you leave the prefix off, the change applies to all commands.
You can also override default values from the command line with the
-x or -X options:
command
-x option=value
command -X option_file
The following section lists all of the keywords supported by the
swjob command. If a default value exists,
it is listed after the
=.
The policy options that apply to
swjob are:
admin_directory=/var/adm/sw
(for normal mode)
admin_directory=/var/home/LOGNAME/sw
(for nonprivileged mode)
The location for SD logfiles and the default parent directory for the installed software cata-
log. The default value is
/var/adm/sw for normal SD operations. When SD operates in
nonprivileged mode (that is, when the run_as_superuser
default option is set to
true):
The default value is forced to /var/home/LOGNAME/sw
.
The path element
LOGNAME is replaced with the name of the invoking user, which SD
reads from the system password file.
If you set the value of this option to HOME/path, SD replaces HOME with the invoking
user’s home directory (from the system password file) and resolves path relative to that
directory. For example,
HOME/my_admin
resolves to the my_admin directory in
your home directory.
SD’s nonprivileged mode is intended only for managing applications that are specially
designed and packaged. This mode cannot be used to manage the HP-UX operating system
or patches to it. For a full explanation of nonprivileged SD, see the Software Distributor
Administration Guide, available at the
http://docs.hp.com web site.
See also the
run_as_superuser
option.
agent_timeout_minutes=10000
Causes a target agent to exit if it has been inactive for the specified time. This can be used
to make target agents more quickly detect lost network connections since RPC can take as
long as 130 minutes to detect a lost connection. The recommended value is the longest
period of inactivity expected in your environment. For command line invocation, a value
between 10 minutes and 60 minutes is suitable. A value of 60 minutes or more is recom-
mended when the GUI will be used. The default of 10000 is slightly less than 7 days.
one_liner={jobid operation state progress results title}
Defines the attributes which will be listed for each job when no -a option is specified.
Each attribute included in the
one_liner definition is separated by <tab> or <space>.
Any attributes, except log may be included in the one_liner definition. If a particu-
lar attribute does not exist for an object, that attribute is silently ignored.
rpc_binding_info=ncacn_ip_tcp:[2121] ncadg_ip_udp:[2121]
Defines the protocol sequence(s) and endpoint(s) on which the daemon listens and the other
commands contact the daemon. If the connection fails for one protocol sequence, the next
is attempted. SD supports both the tcp (ncacn_ip_tcp:[2121]) and udp
(ncadg_ip_udp:[2121]) protocol sequence on most platforms. See the sd(5) man
page by typing
man 5 sd for more information.
rpc_timeout=5
Relative length of the communications timeout. This is a value in the range from 0 to 9 and
is interpreted by the DCE RPC. Higher values mean longer times; you may need a higher
value for a slow or busy network. Lower values will give faster recognition on attempts to
contact hosts that are not up or not running
swagentd. Each value is approximately
twice as long as the preceding value. A value of 5 is about 30 seconds for the
ncadg_ip_udp protocol sequence. This option may not have any noticeable impact when
using the ncacn_ip_tcp protocol sequence.
run_as_superuser=true
This option controls SD’s nonprivileged mode. This option is ignored (treated as true) when
476 Hewlett-Packard Company 3 HP-UX 11i Version 2: December 2007 Update