Existing instances are designed to be as independent as possible from the effects of subsequent installation and removal of products.
In most cases, existing instances will automatically inherit or lose access to the function of the product that is being installed or removed. However, if certain executables or components are installed or removed, existing instances do not automatically inherit the new system configuration parameters or gain access to all the additional function. The instance must be updated.
If DB2 is updated by installing a PTF or a patch, all the existing instances should be updated using the db2iupdt command. You can run the db2iupdt command as follows:
DB2DIR/instance/db2iupdt instance_name
|
| where DB2DIR | = /usr/lpp/db2_05_00 | on AIX |
|
|
| = /opt/IBMdb2/V5.0 | HP-UX, SCO UnixWare 7, Solaris, or SGI IRIX |
|
|
| = /usr/IBMdb2/V2.1 | on SCO OpenServer |
|
|
| = /opt/IBMdb2/V2.1 | on SINIX |
For example, to update an instance, enter the following command:
db2iupdt db2inst1
The db2iupdt command updates the files in the INSTHOME/sqllib directory, where INSTHOME is the home directory of the instance owner.