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
- On the RTM host add SLES 15 packages x86_64 -DVD1 ISO as software repositories.
-
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.
- 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.
- (Optional) Remove postfix and install sendmail:
Select delete postfix when prompted.# zypper install sendmail
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. -
Disable Novell AppArmor:
- Run yast.
- Choose Security and Users > AppArmor Configuration > Settings.
- Clear the enable option and choose Done.
- 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
andModule-Web-Scripting
products or update repositories. - For SLES 15 SP1
- Add and enable the
Module-Python2
andModule-Web-Scripting
products or update repositories. - For SLES 15 SP2 and SP3
-
- Disable the
Module-Web-Scripting
product or update repository. - Add and enable the
Module-Python2
product or update repository. - Add and enable the
SLES 15-SP1-LTSS
product or update repository.
- Disable the
- For SLES 15 SP4
-
- 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 the
- Configure the firewall:
- In YaST, choose Security and Users > Firewall.
- 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
Obtaining the installation files (Required)
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 /mnt/rtm
-
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
- rtm10.2.0-build601132-sles15-x64.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
Perform this task to install RTM on your host.
Procedure
- Log in to the RTM host as root.
- Download all the installation packages, as described in Obtaining the installation files (Required) before you run the installation script.
-
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*
-
Go to the RTM installation
package directory.
For example:
cd /mnt/rtm
-
Extract the rtm-server-10.2.0-sles(ver).tar.gz tar file:
tar -zxvf rtm-server-10.2.0-sles15.tar.gz
-
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
orLIC_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 theDAEMON_GROUP
that you specified in the install.config file. - 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/
-
Run the rtm_install.sh script to install RTM.
For example:
cd /mnt/rtm sh rtm_install.sh -f install.config
-
Restart the syslog service to view the messages in the RTM GUI:
# service rsyslog restart
- Start the sendmail service:
# service sendmail start
- Optional: If want to upgrade
PHP to 7.4, apply IBM Spectrum LSF RTM
10.2.0 Fix Pack 13
or later :
- 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.
- 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
- Add and enable the applicable product or update repository: