To convert from one Db2 database product to
another (or from one Db2 copy to another) on
Windows operating systems, use the Work with
existing option in the Db2 database product
setup wizard. Once the installation is complete, you can update the licensing information and
uninstall the previous product.
Before you begin
Your system must comply with the system prerequisites for the new Db2 database product that
you are installing.
If there were any fix packs installed on the original Db2 database product, you
should obtain the image for that fix pack level and install that directly, as opposed to installing
the Db2 database
product and then applying the fix pack. The reason for this is that each Db2 fix pack image is a
full refresh image.
About this task
These instructions apply only when the old and new Db2 database products
share the same version level (for example, version 11.5
).
Procedure
To convert between Db2 database
products:
- Log on as a user with administrator access.
-
Stop all Db2 processes and services.
-
Insert the Db2 database product DVD
for the new edition you are installing into the drive.
The IBM®
Db2 database
product launchpad will open.
-
The Db2
database product setup wizard will determine the system language, and will start the setup program
for that language.
To start the Db2 database product
setup wizard manually:
-
Click Start and select the Run option.
-
In the Open field, type the following command:
x:\setup /i language
where
x represents your DVD drive and
language is the territory
identifier for your language, for example,
EN for English.
If the
/i flag is not specified, the installation program will run in the default
language of the operating system.
Click OK.
- Choose Work with existing to start
the installation and proceed by following the setup program's prompts.
Online help is available to guide you through these steps. To
invoke the online help, click Help or press
F1. You can click Cancel at any time to end
the installation.
-
Remove the original Db2 database product's
license by issuing the db2licm command.
-
Issue the command db2licm -l to find the original Db2 database product's
product-identifier value.
-
Issue the following command to remove the license:
db2licm -r product-identifier
-
Issue the command db2licm -l and check the expiry date value.
If the original Db2 database product does
not have an expiry date of Expired, repeat the db2licm
-r command until all of the original Db2 database product's
licenses are removed.
-
Remove the original Db2 database product
using the Add or Remove Control Programs Control Panel window.
-
Add the license file for the new Db2 database product by
issuing the db2licm command.
db2licm -a LicenseFile
The license file is found
in the
db2\license directory on the product activation CD.
-
When the original Db2 database product is
completely uninstalled, reactivate the administration server and the services using the
db2start command or the Services window of the Control
Panel.
Results
When these steps are completed, your instances are configured to run in the new Db2 database product
installation.