Installing DB2 for License Metric Tool on Linux (BigFix scenario)

License Metric Tool that is installed on Linux requires DB2 database. You can install the database on the same computer as the License Metric Tool server or on a separate one. You can also reuse the instance of DB2 that you installed for the BigFix platform. DB2 installation package is delivered together with License Metric Tool.

Before you begin

To install DB2 for License Metric Tool, download the following installation packages:
  • Download the DB2 11.5.7 installer from Fix Central
  • Download the DB2 license activator DB2_DSE_Activation_11.5.zip (with part number CC6L7ML) from Passport Advantage.

About this task

The following scenario shows how to install DB2 11.5 that is delivered with License Metric Tool. If it does not fit your environment, you need more information about each step or other installation options, see the documentation for DB2 11.1 or DB2 11.5.

Procedure

  1. Go to the directory where you downloaded the installation package, and extract the installation files.
    tar xvf installation_package
  2. Go to the extracted directory, and run the installation script.
    ./db2setup
  3. In the Welcome window, click New Install.
  4. Select DB2 Version 11.5.0.0 Server Editions, and click Next.
  5. Read and accept the license agreement. Then, click Next.
  6. Enter a password for the DB2 instance owner (db2inst1). Then, click Next.
    Important: Ensure that the password for the DB2 instance owner meets the requirements that are specific for the operating system on which you are installing DB2. Otherwise, the installation fails.
  7. Enter a password for the DB2 fenced user (db2fenc1). Then, click Next.
  8. Verify that the Install DB2 Server Edition on this computer and save my settings in a response file option is selected.
  9. To start the DB2 installation, click Finish.
  10. When the installation finishes, review the Post-installation steps, and click Close. Then, click Finish.
  11. Add a license file to extend your license.
    1. Go to the directory where you downloaded the license activator, and extract the package.
    2. From the directory with the extracted files, go to /db2/license.
    3. Copy the db2std_vpc.lic file to the home directory of the DB2 instance owner, by default /home/db2inst1.
    4. Open the terminal and switch the user to the DB2 instance owner.
      su - db2inst1
    5. Add the license file to your installation.
      db2licm -a db2std_vpc.lic

Results

The installation of DB2 is complete. The default location is /opt/ibm/db2.

What to do next

Enable the License Metric Tool fixlet site.