Chapter 2. DB2 server deployment 49
The response file installation is supported on UNIX, Linux, and Windows. The
command to start a response file deployment is a command of the DB2 Setup
wizard with different command line options. It is db2setup on UNIX/Linux system
and setup on Windows. When using the DB2 Setup wizard to generate the
response file:
򐂰The response file can be specified by choosing options in the step, Select the
installation action.
򐂰The response file generated captures the configuration of the installation
done by the DB2 Setup wizard. This is a recommended method to make a
response file.
򐂰The response file is generated only when the installation has completed
successfully. It is not generated if the installation is cancelled, or if the
installation fails with an error.
On Windows platform, there is a tool called the response file generator (db2rspgn),
which can be used to generate a response file as well as database profiles. We
recommend using this tool, especially when you have a more complex
configuration.
A response file consists of many keyword value pairs. Each pair defines an
component to be installed, a feature to be enabled, or a setting to be configured.
Example 2-5 shows the format of a response file.
Example 2-5 Format of a response file
LIC_AGREEMENT = ACCEPT
PROD = ENTERPRISE_SERVER_EDITION
FILE = /opt/ibm/db2/V9.5
INSTALL_TYPE = CUSTOM
......
When using the response file installation, take note of these considerations:
򐂰There are changes in the keywords between various DB2 versions.
New mandatory keywords are introduced in DB2 9 that DB2 V8 does not
recognize. Therefore, the response files created in DB2 V8 should not be
used in DB2 9 or 9.5, vice versa.
򐂰On UNIX and Linux, a response file created for a root installation cannot be
used for a non-root installation. There are response file keywords valid for
root installation only. Refer to the following URL for more details:
http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/
com.ibm.db2.luw.qb.server.doc/doc/r0007505.html