IBM Books

Installation and Configuration Supplement


Response File Generator

The response file generator utility creates a response file from an existing installed and configured DB2 product. You can use the generated response file to recreate the exact setup on other machines.

For example, you could install and configure a DB2 Run-Time client to connect to various databases across your network. Once this DB2 client is installed and configured to access all the database that your users to have access to, you can run the response file generator to create a response file and a profile for each instance.

The response file generator creates a response file for the installation and instance profiles for each instance that you specify. You can then use the response file to create identical clients across your network.

The response file generator also gives you the option to create just the installation response file, without an instance profile, which would allow you to create identical copies of your installed client, without that configuration information.
Note:The response file generator is only available on OS/2 and Windows 32-bit operating systems.

The syntax for the db2rspgn command is as follows:
Syntax of the db2rspgn command

-d
Destination directory for a response file and any supporting files. This parameter is required.

-i
A list of instances for which you want to create a profile. The administration instance (DB2DAS00, reserved for use by the Administration Server) does not need to be specified. The default is to generate an instance profile file for all instances. This parameter is optional.

-noadmin
Disables the saving of the administration instance (DB2DAS00, reserved for use by the Administration Server). The administration instance will then be created with the standard defaults. The default is to save the administration instance. This parameter is optional.

-nodlfm
Disables the saving of the DLFM instance. This parameter applies only to a Data Links system. This parameter is optional.

For example, to create a directory called db2rsp at the base of the current drive, and have the response file generator place the response file and the instance profiles for all the instances in this directory, enter the following command.

   db2rspgn -d \db2rsp

Each instance would have a profile created.

You can create the same directory as the first example, but only include the response files for instances inst1, inst2, and inst3, by entering the following command:

   db2rspgn -d \db2rsp -i inst1 inst2 inst3 

If you are planning to set up and configure identical DB2 products, you only need to specify the installation response file when you perform the installation. The installation response file that was created by the response file generator will automatically call each instance profile. You only need to ensure that the instance profiles are located in the same drive and directory as the installation response file.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]