License Server Setup

License Server Setup



This information explains how to set up a license server, allowing any computer on your network to run Vortex Studio with floating licenses.



Setting Up a License Server

The process for setting up a license server is different for Windows and Linux operating systems.

Setting Up a License Server on Linux

Setting up a license server on a computer running Linux involves the following activities.

Install the Vortex Studio Licensing Tools Package for Linux

Before you can install a license server, you must download and install the Vortex Studio Licensing Tools Package.

Do the following:

  1. From the CM-Labs website, on the side menu, click Downloads.

  2. Click to expand the section under Tools and Extras (manual process).

  3. Click to download the correct version of Vortex Studio Licensing Tools for your operating system.

    The file you download is named Vortex_Licensing_Tools_[version]_x64_rhel7_gcc48.tar.gz. It contains the following directories and files:

    • The Vortex Studio License Manager Application in the bin folder.

    • The associated library in the lib folder.

    • The RLM license server in the server folder.





Create the RLM Service

  1. Connect as root user.

  2. Create a user for RLM:

    useradd --create-home --shell /bin/bash rlmuser passwd rlmuser



  3. Uncompress the new RLM installation directory:

    mkdir /home/rlmuser/RLM tar xz -C /home/rlmuser/RLM -f /tmp/Vortex_Licensing_Tools_[Version]*_x64_rhel7_gcc48.tar.gz



  4. Set permissions on the RLM Server folder:

    chown -R rlmuser.rlmuser /home/rlmuser/RLM



  5. Create and set permissions on the CMLabs license folder:

    mkdir /opt/cmlabs/licenseschown -R rlmuser.rlmuser /opt/cmlabs/licenses



  6. To start the RLM server at system boot time, do the following (You may need to configure your firewall settings):

    #! /bin/sh # # rlm Start/Stop rlm # #---------------------------------------------------------------- #---------------------------------------------------------------- #---------------------------------------------------------------- # NOTE: # NOTE: Configure these 5 variables for your system # NOTE: # Set rlmuser to the user under which rlm will run rlmuser=rlmuser # Set rlmdir to the directory where the rlm binaries are found rlmdir=/home/rlmuser/RLM/server # Set licfile to the path to the license file folder licfile=/opt/cmlabs/licenses # Set debuglog to the path to the debug log debuglog=+$rlmdir/rlm.dl #---------------------------------------------------------------- #---------------------------------------------------------------- #---------------------------------------------------------------- start() { echo $debuglog su - $rlmuser -c "$rlmdir/rlm -c $licfile -dlog $debuglog &" } stop() { su - $rlmuser -c "echo 'y' | $rlmdir/rlmutil rlmdown RLM" } case "$1" in start) start ;; stop) stop ;; restart) stop sleep 2 start ;; *) echo $"Usage: $0 {start|stop|restart}" exit 1 esac exit 0





  7. Create link (required for Linux systems):

    ln -s /etc/rc5.d/S98rlm /etc/init.d/rlm



  8. Add executable permissions:

    chmod 755 /etc/init.d/rlm



  9. Add startup service on boot time:

    chkconfig --add rlm --level 0356 chkconfig rlm on



  10. Verify service startup:

    service rlm start service rlm stop service rlm restart



  11. Verify output log:

    vi /home/rlmuser/RLM/bin/rlm.dl



    An example of the output log appears as follows:



    09/28 14:42 (rlm) License server started on rlm-linux-01 09/28 14:42 (rlm) Server architecture: x64_l1 09/28 14:42 (rlm) License files: 09/28 14:42 (rlm) /home/rlmuser/RLM/server/rlm_roam_server.lic 09/28 14:42 (rlm) 09/28 14:42 (rlm) Web server starting on port 5054 09/28 14:42 (rlm) Using TCP/IP port 5053 09/28 14:42 (rlm) ... adding UDP/IP port 5053 09/28 14:42 (rlm) Starting ISV server cmlabs on port 48012 09/28 14:42 (cmlabs) RLM License Server Version 12.1BL3 for ISV "cmlabs" 09/28 14:42 (cmlabs) Settings from RLM Version 12.1BL3 for ISV "cmlabs" 09/28 14:42 (cmlabs) Server architecture: x64_l1 Copyright (C) 2006-2016, Reprise Software, Inc. All rights reserved. RLM contains software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org) Copyright (c) 1998-2008 The OpenSSL Project. All rights reserved. Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com) All rights reserved. 09/28 14:42 (cmlabs) 09/28 14:42 (cmlabs) Server started on rlm-linux-01 (hostid: ANY) for: 09/28 14:42 (cmlabs) rlm_roam 09/28 14:42 (cmlabs) 09/28 14:42 (cmlabs) License files: 09/28 14:42 (cmlabs) /home/rlmuser/RLM/bin/rlm_roam_server.lic 09/28 14:42 (cmlabs)



  12. Verify License Server administration Web page access:

    Go to: http://[HostName]:5054