swconfig.1m (2011 09)

s
swconfig(1M) swconfig(1M)
Target Log
A swagent process performs the actual configure operation at each target_selection. The
swagent logs events to the file /var/adm/sw/swagent.log
. You can view the command and
target log files with the
swjob or
sd command.
swagentd Disabled
If the
swagentd daemon has been disabled on the host, it can be enabled by the host’s system adminis-
trator by setting the SW_ENABLE_SWAGENTD
entry in /etc/rc.config.d/swconfig
to 1 and exe-
cuting
/usr/sbin/swagentd -r
.
EXAMPLES
Configure the C and Pascal products on the local host:
swconfig cc pascal
Configure Product1, use any associated response files generated by a request script, and save response
files under
/tmp/resp1:
swconfig -x ask=true -c /tmp/resp1 Product1
Reconfigure the HP Omniback product:
swconfig -x reconfigure=true Omniback
Configure the version of HP Omniback that was installed at /opt/Omniback_v2.0
:
swconfig Omniback,l=/opt/Omniback_v2.0
Unconfigure the software_selections listed in the file
/tmp/install.products on the hosts listed in
the file
/tmp/install.hosts
:
swconfig -u -f /tmp/install.products -t /tmp/install.hosts
Configure the C and Pascal products on remote hosts:
swconfig cc pascal @ hostA hostB hostC
LIMITATIONS
The SD-UX version of swconfig does not support the configuration, unconfiguration, or reconfiguration
of installed software on remote targets.
FILES
$HOME/.swdefaults
Contains the user-specific default values for some or all SD software management command
options.
$HOME/.sw/sessions/
Contains session files automatically saved by the SD software management commands, or expli-
citly saved by the user.
/usr/lib/sw/sys.defaults
Contains the master list of current SD options with their default values.
/var/adm/sw/
The directory which contains all configurable and non-configurable data for SD software manage-
ment commands. This directory is also the default location of logfiles.
/var/adm/sw/defaults
Contains the active system-wide default values for some or all SD software management com-
mand options.
/var/adm/sw/getdate.templ
Contains the set of date/time templates used when scheduling jobs.
/var/adm/sw/products/
The Installed Products Database (IPD), a catalog of all products installed on a system.
AUTHOR
swconfig was developed by the Hewlett-Packard Company.
12 Hewlett-Packard Company 12 HP-UX 11i Version 3: September 2011