Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 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

Note

You should install the RLM License Server ONLY if you have a floating license and want the Linux box to act as a license server. Node locked licenses do not require the RLM License server.

How to make Maxwell Render work with an existing RLM License server

Insert excerpt
RLM License Server
RLM License Server
nopaneltrue

Installing the RLM License Server step by step

Note

You must be root to perform these operations!

  1. Unpack rlm_nl.tar.gz into the place you want the server to be installed. In our caseexample, it will be "/opt". This will create a directory called "rlm", so everything will be inside "/opt/rlm" .

  2. Inside this directory, there will be some files and directories:

    Code Block
    [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
    
    
  3. 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 file 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$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.

  4. Save ./init_d_script/rlm

  5. Copy On Fedora Core, and CentOS, copy ./init.d_script/rlm to /etc/rc.d/init.d  (this needs root permissions to be done)
  6. Run the command:

    Code Block
    cd /etc/rc.d/init.d
  7. Run the command: On Debian and Debian-like distros (Ubuntu....) copy ./init.d_script/rlm to /etc/init.d  (this needs root permissions to be done). This method works with Red Hat, Fedora, Ubuntu (install package chkconfig and service), Suse. Actually /etc/init.d it's either the proper directory or a link to the proper directory depending on the distro, so it will work the same.
    Code Block
    lnsudo -scp ./init.d/rlm  /etc/init.d/rlm 
    sudo chmod 0755 /etc/rc3init.d/S99rlm
    Run the command: (this needs root permissions to be done
    rlm
  8. Then you need to add it to the system start-up process. Instead of creating all the required links, use chkconfig (install the package first on Ubuntu)
    Code Block
    ln -s ../init.d/rlm /etc/rc5.d/S99rlm
    Run
    sudo chkconfig add rlm
  9. To start rlm now, run the command:

    Code Block
    /etc/init.d/rlm start 

    to start the license server. rlm The RLM License Server will now start automatically on boot. 

  10. Check that the license server is up and running opening a web browser and opening the following URL:

    Code Block
    http://localhost:5054
  11. If the license server machine will run also maxwellbe running Maxwell Render, create a text file called named maxwell_license.lic into in the $HOME/Maxwell directory with just one line that reads:

    Code Block
    HOST localHostlocalhost ANY 5053

    Start maxwell.This line tells Maxwell which computer to connect to, and using which port, in order to get a license from the RLM License Server running on that particular computer. In this case, the computer is "localhost". Instead of "localhost" (without the quotes) this could be the IP address, i.e: 192.168.0.13

  12. Proceed with the Maxwell installation as described here.