Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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.

You should install the RLM License Server ONLY if you have a floating license and want the Linux box 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

Many applications use RLM for license management. If you are already running a RLM License Server you do not need to install an additional license server for Maxwell but you can reuse the existing one. In order to do so please follow these steps:

  • Download the file nextlimit.set (it's in a zip archive so unzip it after download) and copy it where the existent RLM executable ("rlm.exe" in Windows, just "rlm" in OSX and Linux) is located.
  • Copy the maxwell_suite_floating.lic file generated with the license activator to where the rest of the license files are located. 
  • Send a reread command to the RLM License Server to load the Maxwell Render license file. You can do this by opening a browser window in the computer that's running the RLM License Server, typing in localhost:5054 and in the RLM interface that appears, press the Reread/Restart servers link from the left hand side, then the Reread/Restart button on the page that appears.

Installing the RLM License Server step by step

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 example, 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:

    [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/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 ./init.d_script/rlm to /etc/rc.d/init.d  (this needs root permissions to be done)

  6. Run the command:

    On Fedora Core, and CentOS (actually /etc/init.d is a soft link to /etc/rc.d/init.d

    cd /etc/rc.d/init.d

    On Debian and Debian-like distros (Ubuntu....)

    cd /etc/init.d
  7. Run the command: (this needs root permissions to be done)

    ln -s ../init.d/rlm /etc/rc3.d/S99rlm
  8. Run the command: (this needs root permissions to be done)

    ln -s ../init.d/rlm /etc/rc5.d/S99rlm
  9. Run the command:

    /etc/init.d/rlm start 

    to start the license server. 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:

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

    HOST localhost ANY 5053

    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.

 

  • No labels