Installing IBM Spectrum LSF RTM on SLES

Perform this task to install IBM Spectrum LSF RTM for SLES on x86_64.

Before you begin

The RTM operating system requirements outlines the supported versions of SLES. For installation details, see your operating system installation documentation.

Preparing to install RTM

Procedure

  1. Remove python-base python-devel, if it is installed.
  2. On the RTM host, add SLES 15 packages x86_64 -DVD1 ISO as software repositories.
  3. Add and enable required SLES 15 SP 6 products and updated repositories. You can do this a number of ways; for instance, you can create the product repository from your DVD or ISO, or register or activate your SUSE product or module. For example:
    SUSEConnect --product sle-module-web-scripting/15/x86_64
    1. Disable all SLES 15-SP2 and newer LTSS product or update repository.
    2. Disable the Module-Legacy product or update repository.
    3. Disable the Module-Web-Scripting product or update repository.
    4. Add and enable the Module-Python2 15-SP3 product or update repository.
    5. Add and enable the SLES 15-SP1-LTSS product or update repository.
  4. PHP version 8.1 is required for RTM:
    1. Check your PHP version:
      php -v
    2. If it the PHP version is not 8.1, or if a different version is installed, remove it and install version 8.1. For example:
      zypper remove php
      zypper addrepo https://download.opensuse.org/repositories/devel:languages:php:php81/SLE_15_SP6/devel:languages:php:php81.repo
      sed -i -e 's^enabled=.*^enabled=0^g' '/etc/zypp/repos.d/SLES15-SP6 Web Scripting.repo'
      zypper refresh
    3. Install the PHP package and other prerequisites:
      zypper install php8 mariadb apache2
  5. Apply the latest libmariadb3 fix from the SLES 15 update channel.
    Note: Only SLES buildin mariadb-connector-odbc is supported on SLES 15 and service packs.
  6. Install the latest libsemanage2 package; replace libsemanage1 if you have libsemanage1 installed.
  7. Disable Novell AppArmor:
    1. Run yast.
    2. Choose Security and Users > AppArmor Configuration > Settings.
    3. Clear the enable option and choose Done.
  8. Configure the firewall:
    1. In YaST, choose Security and Users.
    2. Choose the zone that is associated with the selected network interface for accessing RTM web services.
    3. Select the Ports tab and enter the values for the following ports:
      • TCP Ports: 22 25 80 113 443 513-1023
      • UDP Ports: 514
    4. Review and accept the settings.
    5. Choose Security and Users > Firewall again.
    6. Select Start-Up > Start During System Boot. Select Start Now if the status is not running.
    7. Review and accept the settings.
  9. Enable the web and the database services:
    systemctl enable mariadb
    systemctl enable apache2
  10. Secure the database:
    systemctl start mariadb
    /usr/bin/mysql_secure_installation
    

    Note the root user name and password for later use in the installation.

Obtaining the installation files

Download the necessary files to a location on your IBM Spectrum LSF 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:
    From IBM Passport Advantage:
    • rtm-poller-10.2.0-OS_version-OS_architecture.tar.gz
    • rtm-server-10.2.0-OS_version-OS_architecture.tar.gz
    From IBM Fix Central:
    • rtm10.2.0-build602421-OS_version-OS_architecture.tar.gz
  4. Download Reprise License Manager (RLM).
    If you are using RLM (version rlmutil v11.0 BL2), and if you want RTM to monitor license services, then copy:
    • RLM_TOP/rlmstat to RTM_TOP/rlm/bin/rlmstat.
    • or 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 IBM Spectrum LSF RTM binaries on SLES 15 SP6

About this task

Perform this task to install RTM on your SLES SP6 host.

Procedure

  1. Disable firewalld:
    systemctl disable firewalld
    systemctl stop firewalld
  2. Copy the poller and server RTM packages to your local directory.
    For example:
    mkdir –p /root/rtm; cd /root/rtm
    cp {Download Directory}/rtm-poller-10.2.0-sles15-*.tar.gz .
    cp {Download Directory}/rtm-server-10.2.0-sles15-*.tar.gz .
    tar xvf rtm-server-10.2.0-sles15-*.tar.gz
  3. Edit the install.config file (in /mnt/rtm):
    1. By default, RTM installs to the /opt/IBM directory. To install to a different directory, edit the RTM_TOP value in the install.conf file.
      For example, instead of:
      RTM_TOP=/opt/IBM
      change it to:
      RTM_TOP=/different_installation_directory
    2. Set the DB_USERNAME and DB_PASSWORD parameters in the install.conf file. These parameters are mandatory.
    3. To configure any optional parameters in the install.conf file, uncomment the line and specify the appropriate value and note:
      • 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.
      • Blank spaces are not permitted in LSF_CLUSTERS or LIC_SERVICES names.
      • Make sure that the user who is running wwwrun, is a member of the DAEMON_GROUP that you specified in the install.config file.
  4. Run the rtm_install.sh script to install both RTM server and poller:
    rtm_install.sh -f install.config
  5. Start poller services:
    systemctl start lsfpollerd
    systemctl start licpollerd