HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
s
swagentd(1M) swagentd(1M)
kernel_path=/stand/vmunix
Defines the path to the system’s bootable kernel. This path is passed to the
kernel_build_cmd
via the SW_KERNEL_PATH
environment variable.
mount_cmd=/sbin/mount
Defines the command called by the agent to mount all file systems.
reboot_cmd=/sbin/reboot
Defines the command called by the agent to reboot the system after all filesets have been
loaded, if any of the filesets required reboot.
remove_setup_cmd=/usr/lbin/sw/remove_setup
Defines the script called by the agent to perform release-specific remove preparation. For
an OS update, this script will invoke the
tlink command when a fileset is removed.
Please Note: Transition links do not exist on 11.31 and newer releases so there are no
remove preparation steps to perform; therefore, the
remove_setup_cmd
is never exe-
cuted for these releases.
rpc_binding_info_alt_source=ncadg_ip_udp:[2121]
Defines the protocol sequence(s) and endpoint(s) used when the agent attempts to contact
an alternate source depot specified by the
alternate_source
option. SD supports
both the udp (
ncadg_ip_udp:[2121]
) and tcp (ncacn_ip_tcp:[2121]) protocol
sequence/endpoint.
source_depot_audit=true
If both source and target machine are updated to SD revision B.11.00 or later, the system
administrator at the source depot machine can set this option to track which user pulls
which software from a depot on the source machine and when the software is pulled. (A
user running
swinstall/swcopy
from a target machine cannot set this option; only the
administrator of the source depot machine can set it.)
When
swagent.source_depot_audit
is set to true,a swaudit.log file is
created on the source depot (for writable directory depots) or in
/var/tmp (for tar images,
CD-ROMs, or other nonwritable depots).
Users can invoke the swlist interactive user interface (using swlist -i -d) to view,
print, or save the audit information on a remote or local depot. Users can view audit infor-
mation based on language preference, as long as the system has the corresponding SD mes-
sage catalog files on it. For example, a user can view the source audit information in
Japanese during one invocation of swlist, then view the same information in English at
the next invocation.
system_file_path=/stand/system
Defines the path to the kernel’s template file. This path is passed to the
system_prep_cmd via the
SW_SYSTEM_FILE_PATH environment variable.
system_prep_cmd=/usr/lbin/sysadm/system_prep
Defines the kernel build preparation script called by the agent. This script must do any
necessary preparation so that control scripts can correctly configure the kernel about to be
built. This script is called before any kernel filesets have been loaded.
uncompress_cmd=
Defines the command called by the target agent to uncompress files after transmission.
This command processes files which were stored on the media in a compressed format. If
the compression_type stored with the file is gzip, the internal uncompression (
funzip)is
used instead of the external
uncompress_cmd. The default value for HP-UX is
undefined.
Session File
swagentd and swagent do not use a session file.
Environment Variables
The environment variables that affect the swagentd and swagent commands are:
LANG Determines the language in which messages are displayed. If LANG is not specified or is
set to the empty string, a default value of C is used. See the lang(5) man page by typ-
ing man 5 sd for more information.
422 Hewlett-Packard Company − 4 − HP-UX 11i Version 2: December 2007 Update