Updating the instance configuration (Linux, UNIX)
To update the configuration for root instances on Linux® or UNIX operating systems, use the db2iupdt command. To update non-root instances, run the db2nrupdt 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 has 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 located in the DB2DIR/instance directory, where DB2DIR is the location where the current version of the Db2® database product is installed.
Restrictions
This task applies to root instances only.
Procedure
To update an instance from the command line, enter:
db2iupdt -d InstName
The InstName is the login name of the instance owner.
Example
- If you installed Db2 Enterprise Server
Edition after the
instance was created, enter the following command to update that
instance:
db2iupdt -d -u db2fenc1 db2inst1
- If you installed the Db2 Connect Enterprise
Edition after creating the
instance, you can use the instance name as the Fenced ID
also:
db2iupdt -d -u db2inst1 db2inst1
- To update client instances, invoke the following
command:
db2iupdt -d db2inst1