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

s
swreg(1M) swreg(1M)
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.
distribution_target_directory=/var/spool/sw
Defines the location of the depot object to register if no objects are specified and the
-l
option is specified.
level= Defines the default level of objects to register or unregister. The valid levels are:
depot Depots which exist at the specified target hosts.
root All alternate roots.
shroot All registered shared roots (HP-UX 10.X only).
prroot All registered private roots (HP-UX 10.X only).
log_msgid=0
Adds numeric identification numbers at the beginning of SD logfile messages:
0 (default) No identifiers are attached to messages.
1 Adds identifiers to ERROR messages only.
2 Adds identifiers to ERROR and WARNING messages.
3 Adds identifiers to ERROR, WARNING, and NOTE messages.
4 Adds identifiers to ERROR, WARNING, NOTE, and certain other informational mes-
sages.
logfile=/var/adm/sw/swreg.log
Specifies the default command log file for the swreg command.
logdetail=false[true]
The logdetail option controls the amount of detail written to the log file. When set to
true, this option adds detailed task information (such as options specified, progress state-
ments, and additional summary information) to the log file. This information is in addition
to log information controlled by the loglevel option. See the sd(5) man page for addi-
tional information by typing man 5 sd.
loglevel=1
Controls the log level for the events logged to the command logfile, the target agent logfile,
and the source agent logfile. This information is in addition to the detail controlled by the
logdetail option. (See also logdetail.) A value of
0 provides no information to the logfile.
1 enables verbose logging to the logfiles.
2 enables very verbose logging to the logfiles.
objects_to_register=
Defines the default objects to register or unregister. There is no supplied default (see
distribution_target_directory above). If there is more than one object, they
must be separated by spaces.
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 which the
other commands use to 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 details on specifying this option.
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 are not running swagentd. Each value is approximately
twice as long as the preceding value. A value of 5 is about 30 seconds for the
HP-UX 11i Version 3: February 2007 3 Hewlett-Packard Company 521