DB2 10.5 for Linux, UNIX, and Windows

Installing the DB2 pureScale Feature using a response file (AIX and Linux)

Response files contain values that are used to answer questions during the installation process that you would normally answer. Use this installation method to install multiple copies of your DB2® pureScale® Feature on multiple computers, or to have the same installation decisions in all DB2 pureScale Feature installations.

Before you begin

Before you begin the installation:

Procedure

To install the DB2 pureScale Feature using a response file:

  1. Log in as root.
  2. Enter the db2setup command as follows:
    ./db2setup -r responsefile_directory/response_file
    where:
    • responsefile_directory represents the directory where the response file is located; and
    • response_file represents the name of the response file.
  3. Check the messages in the log file when the installation finishes. The installation logs are located, by default, in the /tmp directory:
    • db2setup.log (db2setup_username.log for non-root installations, where username is the non-root user ID under which the installation was performed)
    • db2setup.err (db2setup_username.err for non-root installations, where username is the non-root user ID under which the installation was performed)
    You can specify the location of the log file. An installation history log db2install.history is located in DB2DIR/install/logs where DB2DIR specifies the path where the DB2 database product was installed. The default installation directory is:
    • For AIX®, /opt/IBM/db2/V10.5
    • For Linux, /opt/ibm/db2/V10.5

    If more than one DB2 database product is installed in the same location, you will see db2install.history.xxxx, where xxxx are digits, starting at 0001 and increasing depending on how many DB2 copies you have installed.

Example

The following example installs the DB2 pureScale Feature using response file db2dsf.rsp:
db2setup -r /mydir/db2server.rsp -l /tmp/db2setup.log -t /tmp/db2setup.trc 
where mydir represent the directory where you saved the db2server.rsp file.

What to do next

Review and perform any necessary postinstallation tasks.