Installing the License Metric Tool server and DB2 in silent mode (disconnected scenario)

To install the License Metric Tool server and DB2 by using the All-in-One installer in silent mode, edit parameters in the install_response.txt file, and run the installation command.

Before you begin

  • Run the installation as root.
  • Ensure that the /home directory is a regular directory with write permissions to allow for the DB2 installation. The use of an automounted directory is not supported.
  • File Access Policy Daemon (FAPOLICYD) was confirmed to interrupt the installation of the server. If you use this program, disable it for the period of the installation.

About this task

The following procedure describes the simplest installation path which uses the All-in-One installer to install the License Metric Tool server and DB2 database on a single computer. Installation of DB2 on a separate Linux computer is also supported, but not recommended and thus not described step by step. To install the License Metric Tool server and DB2 separately, use separate installers. For information about available installation packages, see: Downloading IBM License Metric Tool 9.2.

Procedure

  1. Go to the directory with the installation package, and extract the installation files.
    tar xvf installation_package
  2. Go to the licenses subfolder and read the license agreements in the following files: LA_<language>, LI_<language>, non_ibm_license, notices.
  3. Edit the install_response.txt file and adjust it to your installation. Ensure that you uncomment and specify the values of the following parameters:
    • License agreement
      • RSP_LICENSE_ACCEPTED=true
    • Parameters of the License Metric Tool server
      • RSP_ADMIN_USER_NAME
        Tip: Avoid using admin, administrator, root or a similar name for the administrative account. Such an account might be prone to hacker attacks and locked out if an attacker exceeds the specified number of failed login attempts. For more information about the account lockout, see: Configuring user account lockout.
      • RSP_ADMIN_PASSWORD
      • RSP_TLM_ROOT
      • RSP_TLM_HTTPS_PORT
      • RSP_VMMAN_SERVICE_PORT
    • Parameters of the DB2 database
      • RSP_INSTALL_DB2
      • RSP_DB2_INST_PASSWORD
        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.
      • RSP_DB2_ROOT
      • RSP_DB2_INST_HOME_DIRECTORY
    • Other
      • RSP_INSTALL_IEM=false
  4. Change to the directory with installation files. To start the installation, run the following command.
    setup-server-linux-x86_64.sh -f response_file_path -i silent
    Where response_file_path is the absolute path to the response file you are using. For example:
    setup-server-linux-x86_64.sh -f /tmp/images/install_response.txt -i silent
    Tip: Use the -h option to view help information about using the script, for example: setup-server-linux-x86_64.sh -h.
  5. To complete the initial configuration, access the License Metric Tool user interface. Go to https://host_name:port, where host_name is the host name of the computer where the License Metric Tool server is installed, and port is the port that you specified during the installation.
  6. Create the disconnected data source.
    1. From the Data Source Type list, choose Disconnected.
    2. Specify the name of the disconnected data source and the location of the directory on the License Metric Tool server where you upload results of disconnected scans.
    3. To create the data source, click Create.

What to do next

Wait for the initial setup to complete. Then, set up data collection.

To increase security of the transferred data, it is recommended to enable encrypted connection to the License Metric Tool database. For more information, see: Enabling encrypted connection to the database.