HP-UX 11i v3 Installation and Update Guide, September 2010

Saving a list of software on the system
Before you start the update process, it might be helpful to save a list of software on the system:
1. List the bundles and products installed on your system. Make sure to save the output of the
swlist command so you can reference it later.
/usr/sbin/swlist -l bundle -l product>/tmp/software_list
2. After updating to HP-UX 11i v3, run the swlist command again and compare the output
to the output you saved from step 1 to determine what software products and bundles still
need to be updated.
Rebuilding the kernel
The update can fail if the HP-UX kernel build fails in the starting environment. To ensure that
you have a reliable starting point, rebuild the kernel before you update:
1. As root, enter:
/usr/sbin/mk_kernel o /stand/vmunix
2. Fix any problems listed in the mk_kernel output.
3. Reboot your system to ensure that your new kernel boots.
Renaming your log files
You should also rename your log files to make it easier to find problems encountered during an
update.
1. Enter:
cd /var/adm/sw
2. As root, rename each log file. For example:
mv swagent.log swagent_old.log
3. Enter:
cd /var/opt/swm
4. Enter:
mv swm.log swm_old.log
Creating a network depot (optional)
You can create a network depot if you intend to update other systems on the network. A network
depot allows you to update all systems on the network without having to move media from
system to system. You can also create a network depot if you want to avoid manually swapping
media in a single system. For instructions on creating a network depot, see “Creating a network
depot (optional)” (page 28).
Installing the latest Update-UX
If you are updating from HP-UX 11i v2 to HP-UX 11i v3, HP recommends that you manually
install the latest HP-UX 11i v3 version of Update-UX before performing your update. This new
version of Update-UX provides defect fixes and enhancements not found on the HP-UX 11i v2
version of Update-UX. For example, the HP-UX 11i v3 version of Update-UX allows you to use
the preview (-p) option (new for HP-UX 11i v3), and it provides the latest manpage for the
update-ux command.
You should install the Update-UX product (which includes the update-ux command) that is
included on the Operating Environment DVDs that came with your HP-UX 11i v3 release.
Preparing to update 47