Installing IBM Spectrum LSF RTM for Ubuntu on x86_64

Follow this quick reference section for installing IBM Spectrum LSF RTM for Ubuntu 22.04 on x86_64.

Preparing to install IBM Spectrum LSF RTM on Ubuntu

Perform this task to prepare to install IBM Spectrum LSF RTM for Ubuntu.

Before you begin

  • Append the Ubuntu 22.04 APT data source into the source list /etc/apt/sources.list.RTM. Use the Ubuntu 22.04 APT data source to get the PHP and Apache (httpd) packages.
  • If you want to enable the SNMP monitor feature in RTM, install the php8.1-snmp and snmp packages from the APT data source.
  • Ensure that you have Internet access, so that you can install APT data source from the source list /etc/apt/sources.list.
  • Ensure that the firewall is disabled and port 80 and 443 are open. As a best practice, disable Security Enhanced Linux (SELinux). If you do not disable SELinux or allow port 80 and 443 during installation, then you must ensure they are configured appropriately, according to OS specifications. For more details, refer to Red Hat documentation for Disabling SELinux.


  1. Install Ubuntu 22.04.

    For more information, see your Ubuntu installation documentation.

  2. Install MariaDB Server:

    # apt install mariadb-server

    Note: This step is optional if you are using RTM with a remote database.
  3. Install sendmail:

    #apt install sendmail

Obtaining the installation files

Download the necessary RTM installation files to a location on the RTM host.


  1. Log in to the RTM host as root.
  2. Create a directory to store the installation packages.
    For example:
    mkdir -p /mnt/rtm
  3. Download the following RTM packages:
    • rtm-poller-10.2.0-ub(ver)-x64.tar.gz
    • rtm-server-10.2.0-ub(ver)-x64.tar.gz
  4. Download Reprise License Manager (RLM).
    Important: You can use the RTM license monitoring feature only if you have the following packages downloaded.

    If you are using RLM (version rlmutil v11.0 BL2), and if you want RTM to monitor license services, then either copy RLM_TOP/rlmstat to RTM_TOP/rlm/bin/rlmstat, or copy RLM_TOP/rlmutil to RTM_TOP/rlm/bin/rlmstat.

    Note: If you are using a Windows host for RLM, then download the following kits to the host:

Installing the IBM Spectrum LSF RTM packages on Ubuntu

Perform this task to install the RTM packages on the Ubuntu host.


  1. Log in to the RTM host as root.
  2. Download all the installation packages as described in Obtaining the installation files before you run the installation script.
  3. Remove any existing databases log files on the RTM host if the database is on the same host.
    Note: This step is necessary because RTM tunes the database configuration to optimize performance based on the specifications of your host. This includes the recreation of the InnoDB log file.
    Important: If you have any data on the existing databases, it is strongly recommended that you perform a back up of the database (for example, by using mysqldump) before proceeding. A restore is not necessary unless the data becomes corrupt.
    Run the following commands to remove the InnoDB log file from your host:
    service mysqld stop
    #if you are using MariaDB, then use: service mariadb stop
    #find the InnoDB log file in my.cnf (your data directory) and go to it
    #remove the ib_log*
    rm -f /var/lib/mysql/ib_logfile*
  4. Go to the RTM installation package directory:
    cd /mnt/rtm
  5. Dcompress the rtm-server-10.2.0-ub(ver)-x64.tar.gz file in the /mnt/rtm directory.
  6. Edit the install.config file (in /mnt/rtm) and configure all the required parameters.
    To configure any optional parameters, uncomment the line and specify the appropriate value. Blank spaces are not permitted in LSF_CLUSTERS or LIC_SERVICES names.
    Note: Once you download the RTM and any third party packages, configure all the required parameters in the install.config file. The RTM installer will copy, set up, and install the operating system and all dependent packages. It will also complete the post installation tasks, including configuring servers. For advanced settings, configure the parameters in the Advanced section of the install.config file.

    Make sure that the user running www-data is a member of the DAEMON_GROUP that you specified in the install.config file.

  7. Run the script to install RTM.
    For example:
    cd /mnt/rtm
    sh -f install.config
    Tip: For silent installation, use sh -f install.config -s.
  8. Allow the RTM host to accept syslog messages that are forwarded from other hosts:
    1. Run the iptables command to create an iptables rule for accepting syslog messages from other hosts:
      iptables -A INPUT -i eth0 -p udp -m state --state NEW --dport 514 -j ACCEPT
    2. Save the current iptables rules to the /etc/sysconfig/iptables file:
      service iptables save
      Important: By default, the /etc/sysconfig/iptables file does not exist on a newly installed host. Run the service iptables save command to save the current firewall policy to the /etc/sysconfig/iptables file. The /etc/sysconfig/iptables file can be saved only when the iptables service is running.