How to activate DB2 License, If you purchased a DB2 V10.5, V10.1, V9.8, V9.7, V9.5, V9.1 product then you can obtain license key from Passport Advantage.
Starting with DB2 Version 9.1, the license file for DB2 products is shipped separately in a file called the Activation key.
Connect with Instance owner (db2inst1) and unzip DB2_ESE_PVU_QS_Activ_10.5.0.5.zip
1 | unzip DB2_ESE_PVU_QS_Activ_10.5.0.5.zip |
Extract the license file.
The license key is found in the /db2/license directory of the downloaded Activation file.
First run below command to verify db2 license exists or not
1 | db2licm –l |
1 2 3 4 5 6 7 8 9 | Product name: "DB2 Enterprise Server Edition" License type: "License not registered" Expiry date: "License not registered" Product identifier: "db2ese" Version information: "10.5" |
1 | db2licm -a db2ese_c.licNow add license |
1 2 3 4 5 6 | bash-4.2$ db2licm -a db2ese_c.lic LIC1402I License added successfully. LIC1426I This product is now licensed for use as outlined in your License Agreement. USE OF THE PRODUCT CONSTITUTES ACCEPTANCE OF THE TERMS OF THE IBM LICENSE AGREEMENT, LOCATED IN THE FOLLOWING DIRECTORY: "/opt/IBM/db2/V10.5/license/en_US.iso88591" |