This document describes the following:
- How to install and configure DB2 on a local HP-UX machine
- How to apply a fixpack to the installation
Installing DB2 UDB 6.1
The DB2 product CD-ROM contains the files necessary to install and configure
DB2 on a local HP-UX machine (the machine to which the CD-ROM drive is attached).
Perform the following steps to install DB2:
- Ensure that you are logged into the machine with superuser (root) privileges.
- Ensure that you have set the necessary UNIX kernel parameters properly by viewing the file
"Setting kernel parameters."
It is recommended that you review these settings with your system administrator to ensure
that they do not conflict with settings necessary for other software programs on your system.
- Insert the DB2 UDB V6.1 CD-ROM into the CD-ROM drive.
- Mount the CD-ROM by following the instructions in the file
"Mounting a CD-ROM on HP-UX."
The following steps assume that the CD-ROM drive is mounted at /cdrom.
- Navigate to the correct directory on the DB2 UDB 6.1 CD-ROM
by entering the following command: # cd /cdrom
- Look in this directory for a README file in your language and read the file.
- Enter the following command to start the DB2 Installer Program:
# ./db2setup
- On the Install DB2 V6.1 screen, select the products that you want to install
by performing the steps below. (Press the Tab key to move among and highlight
options and press Return to select or deselect options.)
- Select DB2 Administration Client, DB2 UDB Enterprise Edition,
DB2 Connect Enterprise Edition, and DB2 Software Developer's Kit
by highlighing each option and pressing Return.
- Highlight the Customize option beside the DB2 Product Library
option and press Return.
- In the DB2 Product Library (HTML) section, highlight the option
appropriate for your locale (en_US in the United States) and press Return.
- On the DB2 Product Library screen, highlight OK and press Return.
- On the Install DB2 V6.1 screen, highlight OK and press Return.
- On the Create DB2 Services screen, accept the default values Do not create
a DB2 Instance and Do not create the Administration Server by ensuring
that OK is highlighted and pressing Return. (You will create a DB2 Instance
and the Administration Server after you install a fixpack.
Installation of fixpacks is discussed in the section "Upgrading DB2 UDB 6.1 with a fixpack.")
- A Warning screen informs you that you are not creating a DB2 Instance. Ensure that
OK is highlighted and press Return to exit from the Warning screen.
- A Warning screen informs you that you are not creating an Administration Server.
Ensure that OK is highlighted and press Return to exit from the Warning screen.
- The Summary Report screen lists the products that you have elected to install. DB2
software is installed into the directory /opt/IBMdb2/V6.1. Ensure that Continue
is highlighted and press Return.
- A Warning screen gives you a final chance to opt out of the installation. Ensure
that OK is highlighted and press Return to continue with the installation.
- A Notice screen informs you whether the installation has been successful. Ensure
that OK is highlighted and press Return to exit from this screen.
- The Status Report screen verifies which software packages have been installed.
Ensure that OK is highlighted and press Return.
- Ensure that Close is highlighted and press Return.
- A Warning screen informs you that you are not creating a DB2 Instance. Ensure
that OK is highlighted and press Return to exit from the Warning screen.
- A Warning screen informs you that you are not creating an Administration Server.
Ensure that OK is highlighted and press Return to exit from the Warning screen.
- A Notice screen asks if you want to exit from the DB2 Installer. Ensure that
OK is highlighted and press Return.
If you installed DB2 UDB from the current WebSphere Application Server CD-ROM, any needed
DB2 UDB fixpack was installed as well. In this case, proceed to the steps in
"Creating and configuring a database for DB2 UDB 6.1."
If you did not install DB2 UDB from the current WebSphere Application Server CD-ROM, see
the
Software Prerequisites Web site to learn whether you need to install a fixpack for your level
of WebSphere Application Server. If you do need to update your DB2 UDB installation with a fixpack,
proceed to the steps in "Upgrading DB2 UDB 6.1 with a fixpack."
To upgrade DB2 UDB 6.1 with a fixpack, do the following:
- If you have not already done so, see
the
Software Prerequisites Web site to learn whether you need to install a fixpack for your level
of WebSphere Application Server. Note the fixpack level needed.
- Go to
http://www-4.ibm.com/cgi-bin/db2www/data/db2/udb/winos2unix/support/download.d2w/report, navigate to the download page
for the needed fixpack, and download the appropriate file. Read the accompanying README file for installation tips.
- Ensure that you are logged into the machine with superuser (root) privileges.
- Move to the directory containing the downloaded file.
- Uncompress and untar the file to extract the DB2 files.
- Ensure that all DB2 processes are stopped.
- Ensure that the group root exists on the machine. If it does not, add it by
entering the following command:
# groupadd root
- Use the swinstall command to install all fixes from the fixpack.
After you install the fixpack, complete the steps in
"Creating and configuring a database for DB2 UDB 6.1."