swjob.1m (2010 09)
s
swjob(1M) swjob(1M)
The IPv6 address can optionally be enclosed in a pair of square brackets (
[) and (]).
EXTERNAL INFLUENCES
Default Options
In addition to the standard options, several SD behaviors and policy options can be changed by editing
the default values found in:
/var/adm/sw/defaults
the system-wide default values.
$HOME/.swdefaults
the user-specific default values.
Values must be specified in the defaults file using this syntax:
[command_name.]option=value
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
catalog. 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 sys-
tem or patches to it. For a full explanation of nonprivileged SD, see the Software Distri-
butor Administration Guide, available at the
http://www.hp.com/go/hpux-
core-docs 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
recommended when the GUI will be used. The default of 10000 is slightly less than 7
days.
lookupcache_timeout_minutes=10
Controls the time in minutes to cache and re-use the results of hostname or IP address
resolution lookups. A value of 0 disables the facility to cache and re-use lookup results.
The maximum value allowed is 10080 minutes, which is one week.
A value of:
0 disables the lookup caching mechanism.
10080 is the maximum value allowed.
HP-UX 11i Version 3: September 2010 − 3 − Hewlett-Packard Company 3