IBM Books

Installation and Configuration Supplement


Installing DB2 Products from a Hard Disk or CD-ROM

To install a DB2 product on local or remote workstations from a hard disk or CD-ROM, perform the following steps:

step  1.

Step 1. Make DB2 Files Available for Installation

step  2.

Step 2. Create a Response File for Distributed Installation

step  3.

Step 3. Run the CMD File from the Remote Workstation

Before You Begin

Read and perform the steps in this section before you begin the installation to ensure that you have the required items and information you will need.

Step 1. Make DB2 Files Available for Installation

To make the DB2 install files accessible to the machine where DB2will be installed:

If performing a remote installation, you must enable your network clients to access the DB2 install files.

Grant shared access authority to the directory that you just created, or to the CD-ROM drive if installing directly from CD-ROM.

Step 2. Create a Response File for Distributed Installation

During an distributed installation, you supply the setup and configuration data in a response file that you create before running the installation. DB2's install package includes a ready-to-use sample response file, with default entries already in place.

Figure car not displayed.

If you intend to use the sample response file provided, without making any changes to its values, you can skip this step and go to Step 3. Run the CMD File from the Remote Workstation.

Edit the sample response file:

  1. Find the correct sample response files for the product you want to install. Response files available for each DB2 product, see Available Sample Response Files. Copy the files to a local directory.

  2. To activate an item in the response file, remove the asterisk (*) to the left of the keyword/environment variable, erase the current setting to the right of the value and type in a new setting. The possible settings are listed to the right of the current setting.

    An example section of a response file appears below:

    ·
    FILE               = c:\sqllib
    COMP               = DB2 Run-Time Client
    ·
    *DB2ACCOUNT        = BLANK or char(199)
    *DB2BQTIME         = BLANK or 1 - MAX
    ·
    

    Keywords that are unique to installation are only specified in a response file during an distributed installation. For a list of installation keywords, see Important Keywords for OS/2 and Windows 32-Bit Operating Systems.

  3. Exit the file. If you have made any changes, save the file under a new file name to preserve the original sample response file.

    If you are installing directly from the CD-ROM, you must store the renamed response file on a local drive.

Step 3. Run the CMD File from the Remote Workstation

A command (CMD) file contains the commands which will start the installation program. You must edit this file before running the installation.

  1. Find and open the correct CMD file.

    If installing directly from the CD-ROM, substitute x:\os2 for e:\clients\os2\ in the directory names below.

  2. Edit the command in the file, to fill in the information needed for the installation.

  3. Save and exit the CMD file.

    If you are installing directly from the CD-ROM, you must rename the CMD file, store it on a local drive, and use that file name in the next step.

  4. Start the installation by entering the CMD file's name on the command line. The DB2 client is now ready to install on the target workstation.

  5. When installation is complete, check the error and history logs for any errors or problems.


Figure car not displayed.

To configure your client to access remote servers, go to "Configuring Client-to-Server Communications Using the Client Configuration Assistant".


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]