Linux: Installing the Sentinel RMS License Server

This section is applicable to installations involving a license file activation type. This licensing method is gradually being replaced by the user credentials activation type starting with Thermo‑Calc 2025a.

First review Linux: About Installing the License Server. Then if this is a new installation of the Sentinel RMS License Server, start with Step 2.

Sentinel RMS License Server version 9.7 supports both 32- and 64-bit. However, when writing scripts be aware of script naming and do not mix the scripts.

  • All 32-bit scripts are named <script_name>, for example restart_lserv
  • All 64-bit scripts are named <script_name>64, for example, restart_lserv64

It is not possible to use Linux 32-bit scripts/tools to manage license server 64-bit and vice versa, you cannot use Linux 64-bit scripts/tools to manage license server 32-bit

Step 1. Stop Older Versions of the Sentinel RMS License Server

  1. To stop an old version of the License Server already running, go to the directory where the old file is found, and enter the commands:
    • 32-bit license server

      >chmod +x <lsrvdown>

      >./lsrvdown <host_name>

    • 64-bit license server

      >chmod +x <lsrvdown64>

      >./lsrvdown64 <host_name>

  2. Edit existing scripts that start the older version of the License Server so that they start the newer version instead.

    For more information about the lservdown utility, go to https://docs.sentinel.thalesgroup.com/softwareandservices/rms/

Step 2. Write a Script to Start the License Server

The following is an excerpt from the template script for starting the License Server found in the restart_lserv file.

Replace the paths for LICENSE_SERVER_DIR, LICENSE_FILE_DIR and LOG_DIR to match your system. Save it as a script:

# set the directory where the executables are located

LICENSE_SERVER_DIR=/usr/local/Thermo‑Calc/2025b/Licensing-files

# set the directory of the license file lservrc

LICENSE_FILE_DIR=/usr/local/Thermo‑Calc/2025b/Licensing-files

# set the directory where you wish to save the log-files

LOG_DIR=/tmp

# stop the running server

# (omit this line if calling this script at startup)

$LICENSE_SERVER_DIR/lsrvdown $HOSTNAME

# start the license server

$LICENSE_SERVER_DIR/lserv -s $LICENSE_FILE_DIR/lservrc -l $LOG_DIR/lserv_use.log -f $LOG_DIR/lserv_err.log

Step 3. Confirm the HOSTNAME variable and open the UDP port

The hostname should always correspond to the DNS record verify this by doing the following.

  1. Before starting the License Server make sure that the value of the $HOSTNAME variable is correct. This value can be shown by typing the > nslookup $HOSTNAME command in the terminal window:

    The value should be the same IP address that is shown when you use the ifconfig command.

  2. Open the UDP port 5093 in your firewall. In case you have installed SELinux you might also need to disable it by setting SELINUX=permissive in the /etc/selinux/config file.

Step 4. Start the License Server

  1. To start the License Server, run the script created as root. Enter these commands in the console:

    > chmod +x <name_of_script_file>

    > ./<name_of_script_file>

  2. If you want the License Server to start when you boot the system, put a copy of the start script under /etc/rc.d/init.d and start the script from the file /etc/rc.d/rc.local.

Step 5. Install Additional Tool Options

Sentinel RMS License 9.7 Tools