Checking Db2 license compliance

Each Db2 database product and offering has a license certificate file associated with it. The license certificate file should be registered before using the Db2 database product or offering. To verify license compliance, run the db2licm command and generate a compliance report.

About this task

Note: If you installed a Db2 database product trial image, the image includes access to all offerings available in the edition you are using.

Procedure

  1. Verify that you have registered the license certificate files for your Db2 database products.
    1. Issue the db2licm -l command.
    2. Examine the License Type information.
      • If you see License Type: "Developer", it means that your Db2 database product was obtained as part of IBM® Developer Community Edition. In this case, the Developer Edition license terms take precedence over the typical Db2 product license terms.
      • If you see License Type: "Restricted use", it means that your Db2 database product was obtained as part of another IBM product. In this case, the license terms of the bundling product take precedence over the typical Db2 product license terms.
      • If you see License Type: "License not registered", it means that only a base license certificate file has been registered. You should register the appropriate full license certificate file for the Db2 database product.
  2. Verify that you have registered the license certificate files for your Db2 offerings.
    1. Generate a compliance report by issuing the db2licm command or querying the ENV_FEATURE_INFO administrative view.
      • To generate compliance report using the db2licm command, issue the command:
           db2licm -g filename 
        where filename is the path and file name where output is to be stored.
      • To see the compliance information in the ENV_FEATURE_INFO administrative view, connect to a database and issue the following query:
          SELECT FEATURE_NAME, FEATURE_FULLNAME, LICENSE_INSTALLED, 
            PRODUCT_NAME, FEATURE_USE_STATUS 
              FROM SYSIBMADM.ENV_FEATURE_INFO
    2. Analyze the compliance report.
      If you have not registered the license certificate file for a used Db2 offering, the compliance report will list the offering as a "In Violation".