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 IBM Spectrum LSF RTM on Ubuntu
Perform this task to prepare to install IBM Spectrum LSF RTM for Ubuntu.
Before you begin
- Append the Ubuntu
APT data source into the source list /etc/apt/sources.list.RTM. Use the Ubuntu
APT data source to get the
and Apache (
- If you want to enable the SNMP monitor feature in RTM, install the
snmppackages 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.
- Ensure that the firewall is disabled and port 80 and 443 are open. As a best practice, disable Security Enhanced Linux (SELinux). If you do not disable SELinux or allow port 80 and 443 during installation, then you must ensure they are configured appropriately, according to OS specifications. For more details, refer to Red Hat documentation for Disabling SELinux.
For more information, see your Ubuntu installation documentation.
Install MariaDB Server:
# apt install mariadb-serverNote: This step is optional if you are using RTM with a remote database.
#apt install sendmail
Obtaining the installation files
Download the necessary RTM installation files to a location on the RTM host.
- Log in to the RTM host as root.
- Create a directory to store the installation packages.
mkdir -p /mnt/rtm
Download the following RTM packages:
- 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:
Installing the IBM Spectrum LSF RTM packages on Ubuntu
Perform this task to install the RTM packages on the Ubuntu host.
- Log in to the RTM host as root.
- Download all the installation packages as described in Obtaining the installation files 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
- Dcompress the rtm-server-10.2.0-ub(ver)-x64.tar.gz file in the /mnt/rtm directory.
Edit the install.config file (in /mnt/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
LIC_SERVICESnames.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-datais a member of the
DAEMON_GROUPthat you specified in the install.config file.
Run the rtm_install.sh script to install RTM.
cd /mnt/rtm sh rtm_install.sh -f install.configTip: For silent installation, use
sh rtm_install.sh -f install.config -s.
Allow the RTM host to accept
syslog messages that are forwarded from other hosts:
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
Save the current iptables rules to the
service iptables saveImportant: 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 iptables service is running.
- Run the iptables command to create an iptables rule for accepting syslog messages from other hosts: