IBM Books

Quick Beginnings for DB2 Universal Database for UNIX


Upgrading from a Try-and-Buy License

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:

  1. Log in as root.

  2. Mount the CD-ROM, if required.

  3. Update your DB2 product license with the following command:
       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:

    db2entr.lic
    DB2 Universal Database Enterprise Edition

    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:



    where DB2DIR = /usr/lpp/db2_05_00 on AIX


    = /opt/IBMdb2/V5.0 on HP-UX, SCO UnixWare 7, or Solaris


note

The DB2 product license key can be found in the nodelock file, located as follows:

  • For AIX:
       /usr/lib/netls/conf/nodelock
    
  • For HP-UX:
      /usr/netls/nodelock
    
  • For Solaris or SCO UnixWare 7:
       /var/netls/nodelock
    

 


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]