Installing DB2 Universal Database (UDB) 6.1

This document describes the following:

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:

  1. Ensure that you are logged into the machine with superuser (root) privileges.
  2. 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.
  3. Insert the DB2 UDB 6.1 CD into the drive, using a caddy if the drive requires one.
  4. 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
  5. 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.

  6. Navigate to the correct directory on the DB2 UDB 6.1 CD by entering the following command: # cd /cdrom
  7. Enter the following command to start the DB2 Installer Program: # ./db2setup
  8. 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.)
    1. 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.
    2. Highlight the Customize option beside the DB2 Product Library option and press Return.
    3. In the DB2 Product Library (HTML) section, highlight the option appropriate for your locale (en_US in the United States) and press Return.
    4. On the DB2 Product Library screen, highlight OK and press Return.
    5. On the Install DB2 V6.1 screen, highlight OK and press Return.
  9. 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."
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. A Notice screen informs you whether the installation has been successful. Ensure that OK is highlighted and press Return to exit from this screen.
  15. The Status Report screen verifies which software packages have been installed. Ensure that OK is highlighted and press Return.
  16. Ensure that Close is highlighted and press Return.
  17. 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.
  18. 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.
  19. 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."

Upgrading DB2 UDB 6.1 with a fixpack

To upgrade DB2 UDB 6.1 with a fixpack, do the following:

  1. 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.
  2. 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.
  3. Ensure that you are logged into the machine with superuser (root) privileges.
  4. Move to the directory containing the downloaded file.
  5. Uncompress and untar the file to extract the DB2 files.
  6. 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.
  7. Ensure that all DB2 processes are stopped.
  8. To install all fixes from the fixpack, use the following command: # smit update_all
  9. In the INPUT device / directory for software field, specify the path where the installation images are located and click OK.
  10. Click OK to take the default file choices for DB2 software.
  11. Click OK to continue with the installation.

To check the installation, see "Configuring and testing DB2 UDB 6.1."