Installing IBM Spectrum LSF RTM on SLES

This section describes installation procedures for IBM Spectrum LSF RTM on SLES on x86_64.

Preparing to install IBM Spectrum LSF RTM on SLES

Procedure

  1. On the RTM host add SLES 15 packages x86_64 -DVD1 ISO as software repositories.
  2. Install system-user-wwwrun and mariadb:
    # zypper install system-user-wwwrun mariadb

    Ensure that MariaDB is installed properly. This is optional if you are using RTM with a remote database. For more information, see your SLES installation documentation.

  3. 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.
  4. (Optional) Remove postfix and install sendmail:
    # zypper install sendmail
    Select delete postfix when prompted.
    Note: If you want to use postfix, then after you install RTM, use the PHP Mail Function under Console > Configuration > Settings > Mail/DNS in the RTM console.
  5. Disable Novell AppArmor:
    1. Run yast.
    2. Choose Security and Users > AppArmor Configuration > Settings.
    3. Clear the enable option and choose Done.
  6. Add and enable required SLES products and updated repositories. You can do this a number of ways, for example, 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
    For SLES 15
    Add and enable the Module-Basesystem and Module-Web-Scripting products or update repositories.
    For SLES 15 SP1
    Add and enable the Module-Python2 and Module-Web-Scripting products or update repositories.
    For SLES 15 SP2 and SP3
    1. Disable the Module-Web-Scripting product or update repository.
    2. Add and enable the Module-Python2 product or update repository.
    3. Add and enable the SLES 15-SP1-LTSS product or update repository.
    For SLES 15 SP4
    1. Disable the Module-Web-Scripting product or update repository.
    2. Add and enable the Module-Python2 15-SP3 product or update repository.
    3. Add and enable the SLES 15-SP1-LTSS product or update repository.
  7. Configure the firewall:
    1. In YaST, choose Security and Users > Firewall.
    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.
  8. Enable the web and the database services:
    # systemctl enable mariadb
    # systemctl enable apache2

Obtaining the installation files (Required)

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 /mnt/rtm
  3. Download the following RTM packages:
    From IBM Passport Advantage:
    • rtm-poller-10.2.0-sles15-x64.tar.gz
    • rtm-server-10.2.0-sles15-x64.tar.gz
    From IBM Fix Central:
    • rtm10.2.0-build601132-sles15-x64.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

Perform this task to install RTM on your host.

Procedure

  1. Log in to the RTM host as root.
  2. Download all the installation packages, as described in Obtaining the installation files (Required) 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.
    For example:
    cd /mnt/rtm
  5. Extract the rtm-server-10.2.0-sles(ver).tar.gz tar file:
    tar -zxvf rtm-server-10.2.0-sles15.tar.gz
  6. Edit the install.config file (in /mnt/rtm), and configure all the 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 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 who is running wwwrun, is a member of the DAEMON_GROUP that you specified in the install.config file.

  7. Copy rtm_install.sh, rtm_functions.sh, S00RtmServices, and S01RtmDB from Fix Pack 14, to replace original files under RTM_TOP installation source directory; for example:
    mkdir /mnt/rtm12fp14
    cd /mnt/rtm12fp14
    tar -xzf <path_to_fix_pack_14_package>/rtm10.2.0-buildID-sles15-x64.tar.gz
    cp rtm.rc.d/S01RtmDB rtm.rc.d/S00RtmServices /mnt/rtm/rtm.rc.d/
    ls lib/rtm_functions.sh rtm_install.sh rtm.rc.d/S00RtmServices rtm.rc.d/S01RtmDB | cpio -mpdu /mnt/rtm/
  8. Run the rtm_install.sh script to install RTM.
    For example:
    cd /mnt/rtm  
    sh rtm_install.sh -f install.config
  9. Restart the syslog service to view the messages in the RTM GUI:
    # service rsyslog restart
  10. Start the sendmail service:
    # service sendmail start 
  11. Optional: If want to upgrade PHP to 7.4, apply IBM Spectrum LSF RTM 10.2.0 Fix Pack 13 or later :
    1. Add and enable the applicable product or update repository:
      For SLES 15 SP2 and SP3
      Add and enable the Module-Web-Scripting product or update repository.
      For SLES 15 SP4
      Add and enable the Module-Legacy product or update repository.
    2. Run the following commands:
      zypper install php7
      sed -i 's/lin_7.2.so/lin_7.4.so/g' /etc/php7/conf.d/05-aa_ioncube.ini
      systemctl restart apache2