Installing DB2 Universal Database (UDB) 6.1
This document describes the following:
- How to install and configure DB2 on a local AIX machine
- How to apply a fixpack to the installation
Installing DB2 UDB 6.1
The DB2 product CD contains the files necessary to install and configure
DB2 on a local AIX 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 a CD-ROM drive is installed and configured on the machine.
If a CD-ROM drive is not installed or configured on the machine, install and
configure one according to the instructions provided with the drive.
- Insert the DB2 UDB 6.1 CD into the drive, using a caddy if the drive requires one.
- Use the mkdir command to create a mount point for the CD. The following
command creates a mount point for the CD at /cdrom; you can mount the CD at
any location on the machine's local file system.
# mkdir /cdrom
- Mount the CD-ROM drive by entering the following command:
# mount -o ro -v cdrfs /dev/cdnumber /cdrom
In this command, number is the CD-ROM number for your system, usually 0 (zero).
The commands in these steps assume the CD is mounted at /cdrom. If you
mount the CD at a different location, use that location when issuing the
commands.
- Navigate to the correct directory on the DB2 UDB 6.1 CD
by entering the following command: # cd /cdrom
- 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 DB2
Instance and Do not create the Administration Server and click OK.
You will create a DB2 Instance and Administration Server after installing 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 /usr/lpp/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
"Configuring and testing 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,
note the fixpack level and 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.
- Remove the .toc file from the download directory. This action causes smit
to create a new table of contents that matches the contents of the download directory.
- Ensure that all DB2 processes are stopped.
- To install all fixes from the fixpack, use the following command:
# smit update_all
- In the INPUT device / directory for software field, specify the path where
the installation images are located and click OK.
- Click OK to take the default file choices for DB2 software.
- Click OK to continue with the installation.
To check the installation, see
"Configuring and testing DB2 UDB 6.1."