These steps explain how to manually install RLM license server in a Linux box using the supplied rlm_nl.tar.gz file found in the maxwell installation folder. THESE STEPS NEED TO BE DONE ONLY IF YOU HAVE A SUITE FLOATING LICENSE.
Step-by-step guide
YOU MUST BE ROOT TO PERFORM THESE OPERATIONS. BE CAREFUL!
Unpack rlm_nl.tar.gz into the place you want the server to be installed. In our case, it will be "/opt". This will create a directory called "rlm"
Inside this directory, there will be some files and directories:
[maxwell@mylinuxbox rlm]$ pwd /opt/local/howtorlm/rlm [maxwell@mylinuxbox rlm]$ ll total 1492 drwxr-xr-x 2 maxwell maxwell 4096 Nov 14 12:47 init.d_script drwxr-xr-x 2 maxwell maxwell 4096 Oct 18 14:57 licenses drwxr-xr-x 2 maxwell maxwell 4096 Oct 18 14:57 logs -rw-r--r-- 1 maxwell maxwell 476 Oct 11 14:35 nextlimit.set -rw-r--r-- 1 maxwell maxwell 822 Nov 14 12:48 README_RLM.txt -rwxr-xr-x 1 maxwell maxwell 1190336 Oct 11 09:59 rlm lrwxrwxrwx 1 maxwell maxwell 7 Dec 10 19:00 rlmdown -> rlmutil lrwxrwxrwx 1 maxwell maxwell 7 Dec 10 19:00 rlmhostid -> rlmutil lrwxrwxrwx 1 maxwell maxwell 7 Dec 10 19:00 rlmreread -> rlmutil lrwxrwxrwx 1 maxwell maxwell 7 Dec 10 19:00 rlmstat -> rlmutil -rwxr-xr-x 1 maxwell maxwell 261048 Oct 11 14:35 rlmutil
- With a text editor, open ./init.d_script/rlm and change the following lines:
Line 14 : rlmuser=maxwell
Change "maxwell" to the user under which rlm will run. This user must NOT be root. The user must have read write and execute permissions on the rlm installation folder.
Line 17 : rlmdir=/opt/rlm
Change /opt/rlm to the path where you want to install rlm. In our example is /opt/rlm, but it can be wherever you want.
Line 23 : debuglog=$rlmdir/logs/rlm.log
Change $rlmdir/logs/rlm.log to the path where you want to write the rlm server logs. In our example is /opt/rlm/logs/rlm.log, but it can be wherever you want.
Line 26 : licsdir=$rlmdir/licenses
Change $rlmdir/licenses to the folder where you want to store the maxwell license. The LicenseActivator program will save the floating license in $HOME/Maxwell so in theory you could set licsdir=/home/rlmuser/Maxwell. BUT THIS IS NOT THE NORMAL PRACTISE WITH RLM. Normally the licenses are in the same folder as rlm, i.e: licsdir=$rlmdir, so we strongly suggest moving the license from $HOME/Maxwell to $rlmdir. - Save ./init_d_script/rlm
- Copy ./init.d_script/rlm to /etc/rc.d/init.d (this needs root permissions to be done)
Run the command:
cd /etc/rc.d/init.d
Run the command: (this needs root permissions to be done)
ln -s ../init.d/rlm /etc/rc3.d/S99rlm
Run the command: (this needs root permissions to be done)
ln -s ../init.d/rlm /etc/rc5.d/S99rlm
Run the command:
/etc/init.d/rlm start
to start the license server. rlm will now start automatically on boot.
Check that the license server is up and running opening a web browser and opening the following URL:
http://localhost:5054
If the license server machine will run also maxwell, create a text file called maxwell_license.lic into $HOME/Maxwell with just one line that reads:
HOST localHost ANY 5053
Start maxwell.