You can update an existing DB2® copy
and all instances running on that copy to a new fix pack level. You
can also choose to install a new DB2 copy
and selectively update instances to run on this new copy after installation.
Before you begin
- Ensure that you have Local Administrator authority.
- Download and uncompress a fix pack. The fix pack and the DB2 copy that you want to update
must be of the same release.
About this task
Follow these instructions to update your DB2 copies from one fix pack level to another
(within the same version level) or to install additional functionality.
Restrictions
- You can only update an instance of the same release from a earlier
release level copy to a later release level copy. You cannot update
an instance from a later release level copy to a earlier release level
copy.
- You will not be able to update more than one DB2 copy at the same time. In order to update
other DB2 copies that might
be installed on the same computer, you must rerun the installation.
- Coexistence of a 32-bit DB2 data
server and a 64-bit DB2 data
server on the same Windows x64
computer is not supported. It is not possible to upgrade directly
from a 32-bit x64 DB2 installation
at Version 8 to a 64-bit installation at Version 9.8.
Procedure
To update your DB2 copies:
- Log on as a user with Local Administrator authority.
- Stop all DB2 instances,
services and applications.
- Run setup.exe to launch the DB2 wizard to install a DB2 copy. You have the following
choices:
- To update an existing DB2 copy
and update all the instances running on this DB2 copy, select Work with Existing in
the Install a Product panel. Then select the DB2 copy that you want to update
with the update action. You cannot install
additional functionality with this action.
- To install a new DB2 copy
and selectively update the instances running on an existing DB2 copy to the new copy after installation,
select Install New in the Install
a Product panel. This option allows you to also install
additional functionality.
- To add functionality to an existing DB2 copy, select Work with Existing in
the Install a Product panel. Then select the DB2 copy that you want to update
with the Add new function action. This action
is only available when the DB2 copy
is at the same release level as the install image.
- If you installed a new DB2 copy,
use the db2iupdt command to update any instances
that are running in a different DB2 copy
of the same release that you want them to run under the new copy.
The following table shows several examples of updating instances:
Instance |
DB2 copy |
Example to update to another
copy |
db2inst1 |
C:\Program Files\IBM\SQLLIB_91\BIN |
cd D:\Program Files\IBM\SQLLIB_91_FP5\BIN
db2iupdt db2inst1 /u: user-name,password
|
db2inst2 |
C:\Program Files\IBM\SQLLIB_97\BIN |
cd D:\Program Files\IBM\SQLLIB_97\BIN
db2iupdt db2inst2 /u: user-name,password
|
Results
Once you have installed or updated a DB2 copy, you can always update instances that
run in other DB2 copies of the
same release, to run on this new DB2 copy
by issuing the db2iupdt command.