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

s
swgettools(1M) swgettools(1M)
NAME
swgettools - Utility for retrieving the SD product from new SD media in preparation for an OS update.
SYNOPSIS
swgettools [-s source][-t temp_directory_path]
DESCRIPTION
The
swgettools command updates or reinstalls the latest SD commands (SW-DIST product) to your
system from media or a depot. The new SD commands are needed to install updated releases of HP-UX.
Prerequisites
The swgettools script needs a temporary directory with at least 2 MB of free space. If there is not
enough space in the temporary directory, swgettools will fail.
By default,
swgettools uses the /var/tmp directory. Use the
bdf /var/tmp command to
determine if
/var/tmp has adequate space.
If you do not have 2 MB free in
/var/tmp, use the -t temp_dir_location option to specify a different
temporary directory.
The
SW-GETTOOLS product loaded by swgettools requires enough space to install the following
files:
/var/adm/sw/lbin (1 MB)
/var/adm/sw/sbin
(3 MB)
/var/adm/sw/lib (6 MB)
/usr/lbin/sw/bin
(5 MB)
These files are automatically removed when you reboot.
Your system needs at least 32 MB of RAM to successfully update to HP-UX version 10.30 or greater.
Procedure
To update SD, you must first load the
swgettools command onto your system. You can then run
swgettools to get the new SW-DIST product, which contains the new SD-UX commands.
swgettools is shipped in the catalog/SW-GETTOOLS/pfiles
directory. Depending on
whether the HP-UX software is on CD, tape, or a remote system in a software depot, use
cp, tar,or
rcp to load swgettools onto your system. (HP recommends that you use the default directory,
/var/tmp.)
Run swgettools . This creates the SW-GETTOOLS product, which updates SW-DIST.
Use the new version of swinstall to update the rest of the operating system. See swinstall(1M) for
more information.
CAUTION: You MUST use the latest version of swinstall to update your system to the latest ver-
sion of HP-UX. If you use a previous version of swinstall , the update will fail.
Reboot the system.
For complete instructions regarding updating HP-UX, see Installing HP-UX 11.0 and Updating HP-UX 10.x
to 11.0.
CAUTION: Ensure that the booted kernel is /stand/vmunix before you install any kernel software.
The swinstall process assumes that the system has booted using the kernel at /stand/vmunix. Ins-
talling kernel software or performing an operating system update with any other kernel might result in loss
of data or other errors.
HP-UX 11i Version 3: February 2007 1 Hewlett-Packard Company 459