Applying Db2 licenses
To be in compliance with your current product entitlement, after installation, you must manually apply the licenses.
Before you begin
The following base licenses are available in the /db2/license directory of the server image. The Db2 Community Edition license is automatically applied during Db2 product installation.
- db2dec.lic: permanent Db2 Community Edition license
- db2ese_t.lic: Db2 Enterprise Server Edition 90-day trial license
- db2trial.lic: Db2 Advanced Edition 90-day trial license
- db2consv.lic: Db2 Connect Server base license applied during installation of the product
About this task
Procedure
To apply the Db2 Advanced Edition or Db2 Standard Edition licenses follow these instructions:
Example
The Db2 Server image comes with the permanent community edition license.
If you applied the Db2 Trial license, the output of db2licm -l command displays as follows:
Product name: "Db2 Advanced Edition"
License type: "Trial"
Expiry date: "04/26/2020"
Product identifier: "db2adv"
Version information: "12.1"
Product name: "Db2 Community Edition"
License type: "Community"
Expiry date: "Permanent"
Product identifier: "db2dec"
Version information: "12.1"
Max amount of memory (GB): "16"
Max number of cores: "4"
Max amount of table space (GB): "100"
If you applied the Db2 Advanced Edition license, the output of db2licm -l command displays as follows:
Product name: "Db2 Advanced Edition"
License type: "Virtual Processor Core"
Expiry date: "Permanent"
Product identifier: "db2adv"
Version information: "12.1"
Enforcement policy: "Hard Stop"
Features:
IBM Db2 Performance Management Offering: "Not Licensed"
If you applied the Db2 Standard Edition license, the output of db2licm -l command displays as follows:
Product name: "Db2 Standard Edition"
License type: "Virtual Processor Core"
Expiry date: "Permanent"
Product identifier: "db2std"
Version information: "12.1"
Enforcement policy: "Hard Stop"
Features:
IBM Db2 Performance Management Offering: "Not Licensed"
If you applied the IBM Db2 Performance Management Offering license for Db2 Advanced Edition product, the output of db2licm -l command displays as follows:
Product name: "Db2 Advanced Edition"
License type: "Virtual Processor Core"
Expiry date: "Permanent"
Product identifier: "db2adv"
Version information: "12.1"
Enforcement policy: "Hard Stop"
Features:
IBM Db2 Performance Management Offering: "Licensed"