Converting instances from one Db2 database product to another (Windows)

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:

  1. Log on as a user with administrator access.
  2. Stop all Db2 processes and services.
  3. Insert the Db2 database product DVD for the new edition you are installing into the drive.
    The IBM® Db2 database product launchpad will open.
  4. 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:
    1. Click Start and select the Run option.
    2. 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.

  5. 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.
  6. Remove the original Db2 database product's license by issuing the db2licm command.
    1. Issue the command db2licm -l to find the original Db2 database product's product-identifier value.
    2. Issue the following command to remove the license:
      db2licm -r product-identifier
    3. 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.
  7. Remove the original Db2 database product using the Add or Remove Control Programs Control Panel window.
  8. 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.
  9. 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.