To update the instance configuration on Windows, use the db2iupdt command.
About this task
Running the
db2iupdt command updates
the specified instance by performing the following:
- Replaces the files in the sqllib subdirectory
under the home directory of the instance owner.
- If the node type is changed, then a new database manager configuration
file is created. This is done by merging relevant values from the
existing database manager configuration file with the default database
manager configuration file for the new node type. If a new database
manager configuration file is created, the old file is backed up to
the backup subdirectory of the sqllib subdirectory
under the home directory of the instance owner.
The db2iupdt command is found in \sqllib\bin directory.
Procedure
To update the instance configuration, issue the db2iupdt command. For example:
db2iupdt InstName
The InstName is
the login name of the instance owner.
There are other optional parameters
associated with this command:
- /h: hostname
- Overrides the default TCP/IP host name if there are one or more
TCP/IP host names for the current computer.
- /p: instance-profile-path
- Specifies the new instance profile path for the updated instance.
- /r: baseport,endport
- Specifies the range of TCP/IP ports used by the partitioned database
instance when running with multiple database partitions.
- /u: username,password
- Specifies the account name and password for the DB2® service.