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
- Verify that you have registered the license certificate
files for your DB2 database
products.
- Issue the db2licm
-l command.
- 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 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.
- Verify that you have registered
the license certificate files for your DB2 offerings.
- 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
- 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".