DB2 10.5 for Linux, UNIX, and Windows

Updating licenses

You can switch licenses in DB2® Version 10.5 - Workgroup, Enterprise, and Advanced Editions without reinstalling DB2.

About this task

This task explains how to update your product license or move to a different edition in the DB2 Version 10.5 - Workgroup, Enterprise, and Advanced Editions common image.

Procedure

To switch between any of the DB2 Workgroup, Enterprise, and Advanced Edition licenses:

  1. Run the db2licm -l command to list all the DB2 product licenses registered on your system.
    db2licm -l product-identifier
  2. Run the db2licm -r command to remove the existing product license, feature license, and trial license, if any.
    db2licm -r product-identifier
    Note: Before removing the IBM® DB2 BLU Acceleration In-Memory Offering license, you must reset the workload registry and drop all the tables that were created using the Offering license. Else, IBM DB2 BLU Acceleration In-Memory Offering Violation will be reported in the license compliance report.
  3. Run the db2licm -a command to apply the new DB2 product license on your system. If the existing product license was not removed by running the db2licm -r command, it is automatically removed.
    db2licm -a product-identifier
  4. Run the db2licm -l command to view the newly applied DB2 product license information.
    db2licm -l product-identifier
  5. Run the db2start command to restart the instance, and for the license compliance report to take effect for the new license.

Example

In this scenario, the DB2 Version 10.5 - Workgroup, Enterprise, and Advanced Editions edition common image is installed on your system. If you applied the DB2 Workgroup Server Edition PVU license, all the functionality for DB2 Workgroup Server Edition is enabled.

If you run the db2licm –l db2wse command, the output displays as follows:

  Product name:                     "DB2 Workgroup Server Edition"
	License type:                     "CPU option"
	Expiry date:                      "Permanent"
	Product identifier:               "db2wse"
	Version information:              "10.5"
	Max amount of memory (GB): 	  "128"
	Enforcement policy:               "Soft Stop"
	Features:
	IBM DB2 BLU-Acceleration In-Memory Offering:	"Not Licensed"
	IBM DB2 Performance Management Offering:	"Not Licensed"
	IBM DB2 Encryption Offering:			"Not Licensed"
	IBM DB2 Business Application Continuity Offering: "Not Licensed"
Assume that you now purchased DB2 Advanced Workgroup Server Edition PVU license. If you want to update from DB2 Workgroup Server Edition to DB2 Advanced Workgroup Server Edition, you must first remove the existing DB2 Workgroup Server Edition PVU license with the db2licm –r db2wse command. You must also remove the feature license and trial license, if any.

On removing the DB2 Workgroup Server Edition licenses, apply the DB2 Advanced Workgroup Server Edition PVU license with the db2licm –a db2awse_c.lic command.

If you run the db2licm –l db2awse command, the output displays as follows:

  Product name:                     "DB2 Advanced Workgroup Server Edition"
	License type:                     "CPU option"
	Expiry date:                      "Permanent"
	Product identifier:               "db2awse"
	Version information:              "10.5"
	Enforcement policy:               "Soft Stop"
	Number of licensed authorized users: "25"
Apply the feature licenses for DB2 Advanced Workgroup Server Edition if a particular priced feature is required.

Similarly, you can move between any of the DB2 Workgroup Server Edition, DB2 Advanced Workgroup Server Edition, DB2 Enterprise Server Edition, and DB2 Advanced Enterprise Server Edition with the DB2 Version 10.5 - Workgroup, Enterprise, and Advanced Editions common image.