DB2 10.5 for Linux, UNIX, and Windows

Applying DB2 licenses

To be in compliance with your current product entitlement, after installation, you must manually apply the licenses.

Before you begin

Ensure that the base license certificate file is available at the /db2/license directory of the installation image.

The following base licenses are available at the /db2/license directory of the server image and the product-specific base license is automatically applied during DB2® product installation.
  • db2ese.lic
  • db2exp.lic
  • db2consv.lic

About this task

This task explains how to apply the licenses manually after installation.

Procedure

To apply any of the DB2 Enterprise Server Edition, DB2 Advanced Enterprise Server Edition, DB2 Workgroup Server Edition, or DB2 Advanced Workgroup Server Edition licenses:

  1. Install the DB2 Version 10.5 - Workgroup, Enterprise, and Advanced Editions common image using the DB2 Setup wizard.
  2. Run the db2licm -a command, to apply the relevant licenses for either the DB2 Enterprise Server Edition, DB2 Advanced Enterprise Server Edition, DB2 Workgroup Server Edition, or DB2 Advanced Workgroup Server Edition.

    Windows

    db2install_path\bin\db2licm -a filename
    where db2install_path is the DB2 installation path, filename is the full path name and file name for the license certificate file that corresponds to the DB2 product edition you have purchased.

    Linux or UNIX

      INSTHOME/sqllib/adm/db2licm -a filename
    where INSTHOME represents the home directory of the instance owner and filename is the full path name and file name for the license certificate file that corresponds to the DB2 product edition you have purchased. The db2licm command can also be found in the path where the DB2 database product is installed. For example, /opt/IBM/db2/V10.5/adm on Linux or UNIX operating system, if you use the default installation directory.
  3. If you have purchased a DB2 add-on offering, run the db2licm -a command to activate the relevant functionalities for the DB2 offering. For example: if you purchased the IBM® DB2 BLU Acceleration In-Memory Offering:

    Windows

    db2install_path\bin\db2licm -a <license_path>/db2baf.lic
    where db2install_path is the DB2 installation path, <license_path> is the full path name for the license file, and db2baf.lic is the license certificate file of IBM DB2 BLU Acceleration In-Memory Offering.

    Linux or UNIX

      INSTHOME/sqllib/adm/db2licm -a <license_path>/db2baf.lic
    where INSTHOME represents the home directory of the instance owner and <license_path> is the full path name for the license file, and db2baf.lic is the license certificate file of IBM DB2 BLU Acceleration In-Memory Offering.
  4. To verify the DB2 product license information, run the db2licm -l command.

Example

If you applied the DB2 Advanced Enterprise Server Edition PVU option license, the output of db2licm -l command displays as follows:

  Product name:                     "DB2 Advanced Enterprise Server Edition"
	License type:                     "CPU option"
	Expiry date:                      "Permanent"
	Product identifier:               "db2aese"
	Version information:              "10.5"
	Enforcement policy:               "Soft Stop"

If you applied the DB2 Advanced Workgroup Server Edition PVU option license, the output of db2licm -l command displays as follows:

  Product name:                     "DB2 Advanced Workgroup Server Edition"
	License type:                     "CPU option"
	Expiry date:                      "Permanent"
	Product identifier:               "db2awse"
	Version information:              "10.5"
	Max amount of memory (GB):	  "128"
	Enforcement policy:               "Soft Stop"

If you applied the DB2 Workgroup Server Edition PVU option license, the output of db2licm -l command 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"

If you applied the DB2 Enterprise Server Edition PVU option license, the output of db2licm -l command displays as follows:

  Product name:                     		"DB2 Enterprise Server Edition"
	License type:                     		"CPU option"
	Expiry date:                      		"Permanent"
	Product identifier:               		"db2ese"
	Version information:              		"10.5"
	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"

If you applied the IBM DB2 BLU Acceleration In-Memory Offering license for a DB2 Enterprise Server Edition product, the output of db2licm -l command displays as follows:

  Product name:                     		"DB2 Enterprise Server Edition"
	License type:                     		"CPU option"
	Expiry date:                      		"Permanent"
	Product identifier:               		"db2ese"
	Version information:              		"10.5"
	Enforcement policy:               		"Soft Stop"
	Features:
	IBM DB2 BLU-Acceleration In-Memory Offering:	"Licensed"
	IBM DB2 Performance Management Offering:	"Not Licensed"
	IBM DB2 Encryption Offering:			"Not Licensed"
	IBM DB2 Business Application Continuity Offering: "Not Licensed"