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

s
swinstall(1M) swinstall(1M)
catalog:
swinstall -s swposix:/tmp/sample.depot.1 -c /tmp/bar.depot \
-x ask=true \*
Install all products in remote depot /tmp/sample.depot.1 on host swposix
, use response files,
run request scripts only when a response file is absent, create catalog
/tmp/bar.depot
and copy all
response files to the new catalog:
swinstall -s swposix:/tmp/sample.depot.1 -c swposix:/tmp/bar.depot \
-x ask=as_needed \*
Install all patches in the depot that correspond to currently installed software and are of the
critical
category:
swinstall -s /tmp/sample.depot.1 -x patch_match_target=true \
-x patch_filter=\"*.*, c=critical\"
The following example applies to HP-UX 10.X only.
To linkinstall the product TEST to the clients
clientA, clientB from the server:
swinstall -l -r -s :OS_700 TEST @ clientA clientB
The following example applies to HP-UX 10.X only.
To linkinstall product TEST2 to your own "/" directory from an application server on "serve":
swinstall -l -s serve TEST2
swcopy
Invoke an interactive session of swcopy:
swcopy
Invoke an interactive session, using default depot at hostX as the source:
swcopy -i -s hostX
Copy all products from the cartridge tape /dev/rmt/0m to the default depot on the local host:
swcopy -s /dev/rmt/0m \*
Load the software_selections listed in the file
/tmp/load.products using the default source/depot:
swcopy -f /tmp/load.products
Copy the C and Pascal products to some local and remote depots:
swcopy -s sw_server cc pascal @ /var/spool/sw hostA:/tmp/sw hostB
FILES
$HOME/.swdefaults
Contains the user-specific default values for some or all SD options. If this file does not exist, SD
looks for user-specific defaults in $HOME/.swdefaults.hosts
.
$HOME/.sw/defaults.hosts
Contains the user-specific default list of hosts to manage.
$HOME/.sw/defaults.patchfilters
Contains the user-specific default list of patch filters.
$HOME/.sw/sessions/
Contains session files automatically saved by the SD commands or explicitly 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 of the configurable and non-configurable data for SD. This direc-
tory is also the default location of logfiles.
/var/adm/sw/defaults
Contains the active system-wide default values for some or all SD options.
472 Hewlett-Packard Company 21 HP-UX 11i Version 2: December 2007 Update