About this task
Running the
db2iupdt command updates the specified
instance by performing the following:
- Replaces the files in the sqllib subdirectory under the
instance owner's home directory.
- 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 instance owner's home
directory.
The db2iupdt command is found in \sqllib\bin directory.
The
command is used as shown:
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.