Updating licenses

You can switch licenses in Db2® version 11.5 without reinstalling Db2.

About this task

This task explains how to update your product license or move to a different edition in Db2version 11.5 common image.

Procedure

To switch between any of the Db2 edition licenses:

  1. Run the db2licm -l command to list all the Db2 product licenses registered on your system.
    db2licm -l
  2. Run the db2licm -r command to remove the existing product license, feature license, and trial license, if any.
    db2licm -r product-identifier
  3. Run the db2licm -a command to apply the new Db2 product license on your system. If the existing product license was not removed when the db2licm -r command was run, it is automatically removed now. Other than the permanent Community Edition license, it will require you to run db2licm -r to remove it.
    If the existing product license was not removed by running the db2licm -r command, it is automatically removed.
    db2licm -a filename
  4. Run the db2licm -l command to view the newly applied Db2 product license information.
    db2licm -l
  5. Run the db2start command to restart the instance, and for the license compliance report to take effect for the new license.