HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
swconfig(1M) swconfig(1M)
Logging
The swconfig command logs summary events at the host where the command was invoked. It logs
detailed events to the swagent logfile associated with each target_selection.
Command Log
The swconfig command logs all stdout and stderr messages to the the logfile
/var/adm/sw/swconfig.log. (The user can specify a different logfile by modifying the log-
file
option.)
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 swjoborsd command.
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 command
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.
HP-UX Release 11i: December 2000 − 10 − Section 1M−−865
___
___