Try-and-Buy versions are available for some DB2 products. If you install a product originally as Try-and-Buy, you do not need to reinstall the same product to upgrade the license. Simply add the license from the DB2 CD-ROM that comes in the product box.
If you install a DB2 product as Try-and-Buy, and you buy a different product, you must uninstall the Try-and-Buy product and then install the new one that you have purchased. For example, if you install DB2 Workgroup Edition as a Try-and-Buy and then purchase DB2 Enterprise Edition, you must uninstall DB2 Workgroup Edition and then install DB2 Enterprise Edition. At installation time, the program will automatically install the required license.
| Note: | Your Proof of Entitlement and License Information booklets identify the products for which you are licensed. |
The following steps describe how to upgrade a license:
DB2DIR/cfg/db2licinst license_filename
|
| where DB2DIR | = /usr/lpp/db2_05_00 | on AIX |
|
|
| = /opt/IBMdb2/V5.0 | on HP-UX, SCO UnixWare 7, or Solaris |
and license_filename is the full pathname and file name for the license file that corresponds to the product you have purchased. The names of the license files for these products are:
For example, if the CD-ROM is mounted in the /cdrom directory and the name of the license file is db2entr.lic, the command should be as follows:
DB2DIR/cfg/db2licinst /cdrom/db2/license/db2entr.lic
DB2DIR/cfg/db2licinst /cdrom_unnamed/db2/license/db2entr.lic
|
| where DB2DIR | = /usr/lpp/db2_05_00 | on AIX |
|
|
| = /opt/IBMdb2/V5.0 | on HP-UX, SCO UnixWare 7, or Solaris |
![]() |
The DB2 product license key can be found in the nodelock file, located as follows:
|