Installing IBM Spectrum LSF RTM on SLES
Perform this task to install IBM Spectrum LSF RTM for SLES on x86_64.
Before you begin
Preparing to install RTM
Procedure
- Remove python-base python-devel, if it is installed.
- On the RTM host, add SLES 15 packages x86_64 -DVD1 ISO as software repositories.
- 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
- Disable all
SLES 15-SP2
and newerLTSS
product or update repository. - Disable the
Module-Legacy
product or update repository. - Disable the
Module-Web-Scripting
product or update repository. - Add and enable the
Module-Python2 15-SP3
product or update repository. - Add and enable the
SLES 15-SP1-LTSS
product or update repository.
- Disable all
- PHP
version 8.1 is required for RTM:
- Check your PHP version:
php -v
- 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
- Install the PHP package and other prerequisites:
zypper install php8 mariadb apache2
- Check your PHP version:
- 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.
- Install the latest libsemanage2 package; replace libsemanage1 if you have libsemanage1 installed.
-
Disable Novell AppArmor:
- Run yast.
- Choose Security and Users > AppArmor Configuration > Settings.
- Clear the enable option and choose Done.
- Configure the firewall:
- In YaST, choose Security and Users.
- Choose the zone that is associated with the selected network interface for accessing RTM web services.
- Select the Ports tab and enter the values for the following
ports:
- TCP Ports: 22 25 80 113 443 513-1023
- UDP Ports: 514
- Review and accept the settings.
- Choose Security and Users > Firewall again.
- Select Start-Up > Start During System Boot. Select Start Now if the status is not running.
- Review and accept the settings.
- Enable the web and the database services:
systemctl enable mariadb systemctl enable apache2
- 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
- Log in to the RTM host as root.
- Create a directory to store the installation packages.
For example:
mkdir -p /root/rtm
-
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
- rtm10.2.0-build602421-OS_version-OS_architecture.tar.gz
- 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
Procedure
- Disable
firewalld:
systemctl disable firewalld systemctl stop firewalld
- 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
- Edit
the install.config file (in /mnt/rtm):
- 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:
change it to:RTM_TOP=/opt/IBM
RTM_TOP=/different_installation_directory
- Set the DB_USERNAME and DB_PASSWORD parameters in the install.conf file. These parameters are mandatory.
- 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.
- By default, RTM installs to the
/opt/IBM directory. To install to a different directory, edit the
-
Run the rtm_install.sh script to install both RTM server and
poller:
rtm_install.sh -f install.config
- Start poller services:
systemctl start lsfpollerd systemctl start licpollerd