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 RTM

Perform this task to install RTM for Ubuntu.

Before you begin

  • The RTM operating system requirements outlines the supported versions of Ubuntu. For installation details, see your operating system installation documentation.
  • 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.

Procedure

  1. Enable the MariaDB repository:
    # apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
    # add-apt-repository 'deb [arch=amd64] http://mariadb.mirror.globo.tech/repo/10.11/ubuntu jammy main'
  2. Enable Universe repository for Ubuntu:
    # add-apt-repository universe
  3. Install the MariaDB server and MariaDB ODBC:
    # apt install mariadb-server odbc-mariadb rpm
    Note: This step is optional if you are using RTM with a remote database.
  4. Optional: Install Sendmail:
    # apt install sendmail
  5. Secure the MariaDB installation:
    # mysql_secure_installation
  6. Switch the system shell from dash to bash shell:
    # dpkg-reconfigure dash

Obtaining the installation files

After you complete the prerequisites for IBM Spectrum LSF RTM on Ubuntu, you can download the necessary RTM installation files to a location on the RTM host.

Procedure

  1. Log in to the RTM host as root.
  2. Create a directory to store the installation packages.
    For example:
    mkdir -p /root/rtm
  3. Download the following RTM packages:
    • rtm-poller-10.2.0-ub(version)-x64.tar.gz
    • rtm-server-10.2.0-ub(version)-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:
    wget http://www.reprisesoftware.com/license_admin_kits/x64_l1.admin.tar.gz

Installing the RTM packages

Once you have the RTM installation files, you are ready to install the RTM packages on the Ubuntu host.

Procedure

  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. Check any existing database 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 if you do not disable database optimization (OPTIMIZE_MYSQL=N in the install.config file). This impacts 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.

    Check the /var/lib/mysql/ib_logfile* file size. If the total size is larger than one eighth of the memory and 2 GB, disable database optimization.

  4. Go to the RTM installation package directory:
    cd /root/rtm
  5. Extract the rtm-server-10.2.0-ub(version)-x64.tar.gz file in the /root/rtm directory.
  6. Edit the install.config file (in /root/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 rtm_install.sh script to install RTM.
    For example:
    cd /root/rtm
    sh rtm_install.sh -f install.config
    Tip: For silent installation, use sh rtm_install.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 IP tables service is running.