db2rspgn - Response file generator command

Generates response files and instance configuration profiles for the current copy. These generated files are used to re-create an exact setup on other machines.

Command syntax

Read syntax diagramSkip visual syntax diagramdb2rspgn-ddestination-directory-iinstance-ttrace-file -noctlsv

Command parameters

-d destination-directory
Specifies the full path to the output directory for generated files. If the output directory specified is an existing directory, the directory must be empty and writable. If the output directory specified does not exist, the new directory is created if the location is writable. This parameter is mandatory.
-i instance
Generates the specified instance configuration and saves this information in the generated response file and instance configuration profile. This parameter is optional. By default, all instances are selected. To specify multiple instances, specify this parameter multiple times. For example, -i db2inst1 -i db2inst3.
-t trace-file
Linux® and UNIX operating systems only. Turns on the debug mode. The debug information is written to the file name specified as trace-file.
-noctlsv
Windows operating systems only. Indicates that an instance configuration profile file will not be generated for the Control Server instance. This parameter is optional.

Usage Notes

The db2rspgn command is not supported in a Db2® pureScale® environment.

The db2rspgn command does not generate the diagpath and svcename parameters.

The db2rspgn command does not generate the TEXT_SEARCH_HTTP_SERVICE_NAME and TEXT_SEARCH_HTTP_PORT_NUMBER parameters.

If running db2rspgn as root in LINUX, DB2INSTANCE must be set with export DB2INSTANCE=<instance_id> beforehand.