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
>>-db2rspgn-- -d--destination-directory------------------------->
.-------------------.
V |
>----+---------------+-+--+-----------------+--+-----------+---><
'- -i--instance-' '- -t--trace-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.