You can create a response file using the DB2® Setup wizard based on the installation you
are performing. This response file will be generated based on your DB2 Setup wizard selections. You
can then use the response file to perform an unattended installation
using the same settings.
About this task
To create a response file using the DB2 Setup wizard:
Procedure
- From the DB2 Setup
launchpad, select Install New for the product
you want to install, or, select Work with Existing to
select the DB2 copy you want
to work with.
- Select the product or DB2 copy you
want to install and click Next to start the DB2 Setup wizard.
- Click Next on the Welcome page and
accept the license agreement terms.
- In the Select the installation type window,
select from Typical, Compact or Custom installation.
- In the Select the installation, response file
creation, or both window, select either the Save
my installation setting in a response file option or the Install
product on this computer and save my settings in a response file option.
Then, in the Response file name field type
the path where you want the DB2 Setup
wizard to place the generated response file. By default, the response
file name is Prod_<abbrev>.rsp, and is saved in directory1.
Note: - If you select the Save my installation setting in a
response file option, no software is installed on the
computer, only the response file is created with the name specified
in the Response file name field.
- If you select a partitioned database installation, two response
files will be generated, one for the instance-owning computer and
one for the participating computers. The participating computer response
file name is generated based on the name of the instance-owning computer.
By default, the partition response file name is Prod_<abbrev>_addpart.rsp,
and is saved in directory2.
- Proceed through the rest of the installation panels selecting
the options you want.
- In the Start copying files and create response
file window, review the settings you selected.
- To install the product, click Finish.
- When the installation has completed, the DB2 Setup wizard will have placed the generated
response file in the path you specified. When the DB2 Setup wizard is used to create the response
file, a special keyword ENCRYPTED is added to the response file. For
example:
DAS_PASSWORD = 07774020164457377565346654170244883126985535505156353
ENCRYPTED = DAS_PASSWORD
The keyword ENCRYPTED indicates the actual value of the
password is not the sequence of numbers shown. Note: After creating the response file, edit
the response file to set the KILL_PROCESSES keyword
to YES. The KILL_PROCESSES keyword
stops any DB2 instances, and
immediately terminates any application that may be accessing DB2. If you have applications that
you do not want to have stopped, ensure that these applications are
not running at the time of installation.