IBM Support

75 ways to demystify DB2: #31: Techtip: Silent installation of DB2 using response file.

Technical Blog Post


Abstract

75 ways to demystify DB2: #31: Techtip: Silent installation of DB2 using response file.

Body

Hello,

         Are you looking for sample response files to install DB2 using silent installation?

A response file is a text file that contains setup and configuration values. The file is read by the DB2 Setup program and the installation is performed according to the values that have been specified. A response file installation is also referred to as a silent installation.

1)  The sample response files are located in the DB2 Image downloaded:
Under: ...<extracted Image>/SERVER/db2/<platform>/samples

For example:

In windows, its under the following directory as shown in the image:

The response files are named according to the DB2 product's shortname.

For example: db2wse.rsp is for DB2 WorkGroup Server Edition response file.image

 

 

 

 

 

 

 

 

 

 

In the sample file, If you want to do custom installation, you can choose the installation type: CUSTOM and uncomment the COMPs that you want to install.

INSTALL_TYPE              = TYPICAL         ** TYPICAL, COMPACT, CUSTOM

Once the response file is modified , you can install using db2setup -r <response file> command.

2) Another option is to use db2setup( GUI wizard) and in one of the steps in the installation wizard, there is an option to just create the response file.
If you prefer to do a custom installation, you can choose the components for custom install and the response file will be created with the values selected and you can use that response file to install DB2 in other servers.

 

image

 

 

 

 

 

 

 

 

 

 

More info: DB2 installation methods

 

 

 

 

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

UID

ibm13286917