IBM DB2 Computer Accessories User Manual


 
Chapter 2. DB2 server deployment 53
3. Specify the instance information:
When the desired components are selected, scroll down in the sample
response file to the instance section to specify the information for creating
DB2 instance. Here we define two instances, db2inst6 and db2inst7, with
respective instance owning user and fence user. We create a local database
ITSO under instance db2inst6, and catalog a remote database ITSOD for
db2inst7. A DB2 Administration Server db2das is also defined.
4. Instance configuration information:
In addition, you can specify database manager configuration parameters for
each instance in the response file, as well as instance profile registry and
global profile registry. Installer will set these parameters after the creation of
instance.
5. Now we have finished the modification based on the sample response file.
Example 2-7 shows sample response file with unused keywords and
comments removed.
Example 2-7 The response file generated from sample
*-----------------------------------------------------
* Created using sample response file db2ese.rsp
* Refer to the DB2 Information Center for more details:
* http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp
*-----------------------------------------------------
* Product Installation
LIC_AGREEMENT = ACCEPT
PROD = ENTERPRISE_SERVER_EDITION
FILE = /opt/ibm/db2/V9.5
INSTALL_TYPE = CUSTOM
INTERACTIVE = NONE
COMP = COMMUNICATION_SUPPORT_TCPIP
Note: When you manually create the response file and define new users in
the file, the password of each user can be explicitly written down in the
response file. This is only applicable for root user installation. For security
reasons, we recommend that you change the password after the
deployment.
The user’s password is encrypted in the response file when it is generated
using the DB2 Setup wizard.
Note: The keyword INTERACTIVE is set to NONE here because we want
a non-interactive deployment. This keyword can be changed to another
value for a different interaction mode. See “Deploying DB2 server with
application” on page 55 for another case.