Installing DB2 Universal Database (UDB) 6.1

This document describes the following:

Installing DB2 UDB 6.1

The DB2 product CD-ROM contains the files necessary to install and configure DB2 on a local Solaris 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 you have set the following UNIX kernel, shared memory, and semaphore parameters properly:

    The following sample files update settings for these parameters. The files are located in the /db2/install/samples directory on the DB2 product CD-ROM and in the /opt/IBMdb2/V6.1/cfg directory after product installation:

    Choose the file appropriate for your system and append it to the /etc/system file; then reboot. For information on the proper values for these parameters, refer to DB2 Quick Beginnings for UNIX and to related DB2 UDB documentation. 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.

  3. Insert the DB2 UDB V6.1 CD-ROM and, if necessary, mount the CD-ROM drive. (On most Solaris systems, the Volume Management daemon (vold) mounts the CD-ROM automatically and immediately, as well as each time the machine is rebooted. If the vold process is not running on the local machine, see your Solaris system documentation for instructions on how to mount the CD-ROM drive.) The following steps assume that the CD-ROM drive is mounted at /cdrom.
  4. Navigate to the correct directory on the DB2 UDB V6.1 CD-ROM by entering the following command: # cd /cdrom/cdrom0
  5. Enter the following command to start the DB2 Installer Program: # ./db2setup
  6. 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, 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.
  7. 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 the installation of a fixpack. Installation of fixpacks is discussed in the section Upgrading DB2 UDB 6.1 with a fixpack.)
  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. A Notice screen informs you whether the installation has been successful. Ensure that OK is highlighted and press Return to exit from this screen.
  13. The Status Report screen verifies which software packages have been installed. Ensure that OK is highlighted and press Return.
  14. Ensure that Close is highlighted and press Return.
  15. 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.
  16. 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.
  17. 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 verifying installation of 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. Ensure that the group root exists on the machine. If it does not, add it by entering the following command: # groupadd root
  7. Move to the directory containing the file installallpatch by entering the following command: # cd delta_install
  8. Ensure that all DB2 processes are stopped.
  9. To install all fixes from the fixpack, enter the following command: # ./installallpatch

After you install the fixpack, complete the steps in "Configuring and verifying installation of DB2 UDB 6.1."