Registering the license certificate file for a Db2 pureScale environment using the db2licm and samlicm commands

Use the db2licm command to apply the license certificate filefor a Db2 pureScale environment

Before you begin

In a Db2 pureScale environment, the license entitlement is included in the Db2 Advanced Enterprise Server Edition and Db2 Advanced Workgroup Server Edition - Authorized User Single Install and PVU offerings. You simply need to apply the appropriate license certificate file for the Db2 Advanced Enterprise Server Edition or Db2 Advanced Workgroup Server Edition.

The license certificate file can be found on the Activation CD, which is included in your product package or can be downloaded from the Passport Advantage® website (http://www.ibm.com/software/lotus/passportadvantage/.)

About this task

In a Db2 pureScale environment, before adding new members, register all licenses on the installation-initiating host (IIH.) In this case, if you initiate installation onto more members from the IIH the Db2 installer automatically copies all license certificate files onto the new members and installs them. However, if you install new members from their own machine, you must manually install the license certificate files on each member using the db2licm command.

If you install additional licenses after the new member has been added, you must register the license certificate file on each member manually.

Procedure

  • If you are registering a Db2 license certificate without updating a permanent license on the IBM® Tivoli® System Automation for Multiplatforms (SA MP), enter the following command:
       /opt/IBM/db2/V11.5/adm/db2licm -a filename
    where filename is the full path name and file name for either the Db2 Advanced Enterprise Server Edition or Db2 Advanced Workgroup Server Edition license certificate file.
  • If you are updating the trial license of Tivoli SA MP with a permanent license, follow the steps that are provided:
    Note: When you install the Db2 product license certificate from the activation CD with Tivoli SA MP by using db2licm, Tivoli SA MP is automatically installed.
    1. Run the samlicm -i samx.lic command for each host in the cluster.
      For example, to install the license for Tivoli SA MP version 4.1, you would use the following command:
      samlicm -i /opt/ibm/db2/V11.5/sd/db2/linuxamd64/tsamp/license/sam41.lic
    2. Stop and restart the TSA domain by taking the cluster in and out of maintenance mode. Refer to Putting a cluster into maintenance mode.
    3. Verify that the Tivoli SA MP license was applied by checking that the following two commands return a 0 on each node:
      samlicm -p; echo $?
      samlicm -t; echo$?
    4. Use the samlicm -s command to ensure that the license is valid.