DB2 Version 9.7 for Linux, UNIX, and Windows

Installing a DB2 product using a response file (Windows)

About this task

To perform an installation from the workstation where the DB2 product will be installed:

Before you begin

Before you begin the installation, ensure that:

Procedure

  1. Connect to the shared directory of the network drive or DVD drive containing the DB2 installation files by entering the following command from the command prompt:
       net use x: \\computer_name\directory_sharename /USER:domain\username 
    where:
    • x: represents the shared directory on the local drive.
    • computer_name represents the computer name of the remote server where the DB2 installation files are located.
    • directory_sharename represents the share name of the directory on the network drive or DVD drive where the DB2 installation files are located.
    • domain represents the domain where the account is defined.
    • username represents a user that has access to this system.
    For example, to use the remote db2prods directory, which was shared as DB2_Installation_Images and is located on the remote server Server, as the local x: drive, enter the following command:
       net use x: \\Server\DB2_Installation_Images
    Depending on how security is set up across your network, you might have to specify the /USER parameter.
  2. Enter the setup command as follows:
       setup -u response_file
    where response_file represents the full path and file name of the response file to use.

    If you are using a response file that was created using the response file generator, ensure that all the instance profiles are located in the same drive and directory as the response file that you specify.

  3. Check the messages in the log file when the installation finishes. For information about errors encountered during installation, review the installation log file located in the My Documents\DB2LOG\ directory. The log file uses the following format: DB2-ProductAbrrev-DateTime.log, for example, DB2-ESE-Tue Apr 04 17_04_45 2007.log.

What to do next

If you want your DB2 product to have access to DB2 documentation either on your local computer or on another computer on your network, you must install the DB2 Information Center.