Installing HP-UX 11.0 and Updating HP-UX 10.x to 11.0 HP 9000 Computers Edition 1

Chapter 2 23
Updating an Existing Operating System and Software
HP-UX Update Requirements
NOTE In general, the Disk Space Analysis phase of swinstall will warn you if
disk space is insufficient. However, Disk Space Analysis does not
currently check /var/adm/sw, where the database is kept, for
temporary space usage.
If you are running your system as LVM and /var comprises a single
volume, be sure you have configured adequate space in the /var volume
to accommodate the update files. An update requires a minimum amount
of free disk space of at least 20 MB to allow for the generation of the
installed software database, among other things. The disk space analysis
will help you determine the needed volume sizes.
Preparing the Disks 1. Determine your free disk space in /var by running bdf /var and
bdf /var/tmp. The default temporary directory is /var/tmp.
2. Delete any files in this volume that you don't need.
3. If necessary, set the environment variable TMPDIR to point to a
directory that has sufficient space. For example (for a directory dir):
export TMPDIR=/dir
After setting and exporting this variable, kill and restart the
swagentd process.
/usr/sbin/swagentd -r
4. Ensure that your system has at least 30 MB of swap enabled before
starting the update process. You can use swapinfo -mt and check
the total free MB of swap space. Or you can use SAM to see how much
swap you currently have. If you do not have enough swap, you can
enable file system swap for the duration of the update (until system
reboot) by using the following command:
/usr/sbin/swapon /var/tmp
The directory /var/tmp can be used if there is sufficient free space. If
/var/tmp is full, then specify a different volume that has enough free
space to satisfy the swap space requirement.
Alternatively, you can shut down unneeded programs to make more
memory and swap space available. This also improves performance.
5. Before updating, you may wish to use /usr/sbin/swremove to
remove unneeded filesets from your system.