You can move from one DB2® database product edition to another (or from one DB2 copy to another) and preserve all information from the original DB2 database product installation. For example, you can move from DB2 Workgroup Server Edition to DB2 Enterprise Server Edition.
Before you begin
Your system must comply with the system prerequisites for the DB2 database product edition that you are installing.
About this task
Be careful when you issue the db2_deinstall command. If you issue the command without specifying appropriate command options, you might remove all DB2 database product components.
These instructions apply only when switching among the same version of a DB2 database product.
Procedure
To move between DB2 database products:
You do not need to create a new instance. Existing instances can be re-configured by issuing db2iupdt or db2nrupdt commands when the installation is complete.
db2licm -a LicenseFileThe license file is found in the db2/license directory on the product activation CD.
DB2DIR/db2ilistwhere DB2DIR represents the location where the original DB2 database product is installed. By default, it is /opt/ibm/db2/V9.7 on Linux® and /opt/IBM/db2/V9.7 on UNIX® operating systems.
DB2DIR/bin/db2iupdt InstanceNamewhere DB2DIR represents the location where the new DB2 database product is installed and InstanceName represents the name of the instance.
db2licm -r product-identifier
db2ls -q -a -b DB2DIRwhere DB2DIR represents the location where the new DB2 database product is installed.
You will see product signatures for both the old and new DB2 database products. For example, EXPRESS_PRODUCT_SIGNATURE or WSE_PRODUCT_SIGNATURE.
DB2DIR/install/db2_deinstall -F product_signaturewhere DB2DIR represents the location where the new DB2 database product is installed. You will no longer see the old product signature in the output from the db2ls command.
Results
When these steps are completed, your instances are configured to run in the new DB2 database product installation.
[ Top of Page | Previous Page | Next Page | Contents ]