Procedure for DB2 license registration:
On Windows operating systems, register a Db2® license certificate file by entering the following command:
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 product or offering you have purchased.
On Linux or UNIXoperating systems, register a Db2 license certificate file by entering the following command:
INSTHOME/sqllib/adm/db2licm -a filename
where INSTHOME represents the home directory of the instance owner, filename is the full path name and file name for the license certificate file that corresponds to the product or Db2 offering 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/V11.1/adm on AIX®, HP-UX or Solaris operating systems or /opt/ibm/db2/V11.1/adm on Linux operating systems, if you use the default installation directory.
Example
On Linux, to register the IBM® Db2 BLU Acceleration In-Memory Offering, run this db2licm command:
/opt/IBM/db2/V11.1/adm/db2licm -a db2baf.lic