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:
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.