HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
s
swagentd(1M) swagentd(1M)
Agent Options
These options apply only to the agent, swagent
. You cannot set these options directly from the command
line. To set agent options, you must edit the system-wide defaults file. See the
Default Options
heading above for instructions.
alternate_source=
If the swinstall or swcopy controller has set
use_alternate_source=true
,
the target agent will consult and use the configured value of its own
alternate_source
option to determine the source that it will use in the install or
copy.
The agent’s value for
alternate_source
is specified using the
host:path syntax.
If the host portion is not specified, the local host is used. If the path portion is not
specified, the path sent by the command is used. If there is no configured value at all for
alternate_source
, the agent will apply the controller-supplied path to its own local
host.
compress_cmd=/usr/contrib/bin/gzip
Defines the command called by the source agent to compress files before transmission. If
the
compression_type
is set to other than gzip or compress , this path must be
changed.
compression_type=gzip
Defines the default compression_type
used by the agent when it compresses files
during or after transmission. If
uncompress_files is set to false, the
compression_type
is recorded for each file compressed so that the correct uncompres-
sion can later be applied during a
swinstall,ora swcopy with
uncompress_files set to true. The
compress_cmd specified must produce files
with the
compression_type
specified. The uncompress_cmd must be able to pro-
cess files of the
compression_type
specified unless the format is gzip, which is
uncompressed by the internal uncompressor (
funzip). The only supported compression
types are compress and gzip.
config_cleanup_cmd=/usr/lbin/sw/config_clean
Defines the script called by the agent to perform release-specific configure cleanup steps.
Please Note: Transition links do not exist on 11.31 and newer releases so there are no
configure cleanup steps to perform therefore the config_cleanup_cmd
is never exe-
cuted for these releases.
install_cleanup_cmd=/usr/lbin/sw/install_clean
Defines the script called by the agent to perform release-specific install cleanup steps
immediately after the last postinstall script has been run. For an OS update, this script
should at least remove commands that were saved by the
install_setup
script. This
script is executed after all filesets have been installed, just before the reboot to the new
operating system.
Please Note: Transition links do not exist on 11.31 and newer releases so there are no
install cleanup steps to perform; therefore, the
install_cleanup_cmd
is never exe-
cuted for these releases.
install_setup_cmd=/usr/lbin/sw/install_setup
Defines the script called by the agent to perform release-specific install preparation. For an
OS update, this script should at least copy commands needed for the checkinstall, prein-
stall, and postinstall scripts to a path where they can be accessed while the real commands
are being updated. This script is executed before any kernel filesets are loaded.
Please Note: Transition links do not exist on 11.31 and newer releases so there are no
install setup steps to perform; therefore, the
install_setup_cmd is never executed for
these releases.
kernel_build_cmd=/usr/sbin/mk_kernel
Defines the script called by the agent for kernel building after kernel filesets have been
loaded.
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.
428 Hewlett-Packard Company − 3 − HP-UX 11i Version 3: February 2007