Manage the RLM Server

Basic RLM Installation

The following procedure should be used for a basic set up of RLM licensing. Altair Accelerator software currently uses Reprise version 12.2BL2.

  1. Save the license received via email from PBS Works Support in the file rtda.lic.
  2. Edit the file to remove or comment out any email headers inserted during transit. Change the HOST name to match that of the license server, and change the ISV line to reflect the correct path to the rtdaddaemon as the software is installed on your system.

    As shipped, the ISV line is ./rtdad, which corresponds to putting the RLM binaries and license file in the same directory. If needed, the port number may be changed as well.

    The Reprise license file should resemble the following:
    # This is an example of a Reprise License for VOV
    # Please do the following:
    #   1.  Install the file in the Altair Accelerator RLM license server directory.
    #   2.  Modify the ISV line by replacing @VOVDIR@ with the actual path to rtdad
    #   3.  Optionally, change the port number on the HOST line
    #   4.  Start with: rlm -nows -c /<output_path>/<license_file_directory>/rlm.log
    HOST bison 0002b3643927 7070
    ISV rtdad ./rtdad
    LICENSE rtdad host_licmon 2016.09 31-dec-2019 200 sig="60PG4580K811VWQ3U4G
    LICENSE rtdad licmon 2020.1 31-dec-2019 1 sig="60Q04580J6R1C53G36DR65CAJ5
    LICENSE rtdad server_nc 2020.1 31-dec-2019 31 sig="60PG453MDXWPAQ6J5QCTGBMBU
    LICENSE rtdad workloadsim 2020.1 31-dec-2019 1000 sig="60P0453YVB4M1VH2FU
  3. Create a dedicated directory that contains the RLM binaries, the RLM license file, and all other RLM-related files (including the log file). The dedicated RLM directory should be placed in local storage on the license server machine, so that the machine can serve licenses without being dependent on network storage availability.
    The items that should be copied to this directory are:
    • The RLM license file, obtained from PBS Works Support
    • $VOVDIR/bin/rlm - the RLM executable
    • $VOVDIR/bin/rlmutil - the RLM utility executable (provides rlmstat, rlmreread, etc.)
    • $VOVDIR/bin/rtdad - the Altair Accelerator vendor daemon.
  4. Create symbolic links to (or copy, in the case of a Windows installation) rlmutil to provide easier access to the RLM commands:
    • rlmstat
    • rlmreread
    • rlmremove
    • rlmhostid
    • rlmver
    • rlmdown

    Copies of rlmutil may also be made, named as each utility, which will also make the various utilities available, but this uses more disk space. This is the only option on Windows, which does not support symbolic links.

  5. Start the license server by running the rlm command:
    > source /<install_path>/<version>/<platform>/common/etc/vovrc.csh
    % rlm -nows >& rtda.log &
    or if the license does not end in .lic:
    > source /<install_path>/<version>/<platform>/common/etc/vovrc.csh
    % rlm -nows -c /<output_path>/<license_file_directory>/rtda.log
    • -dlog /<output_path>/<license_file_directory>/ - enable debug log.
    • -nows - disable the RLM web server interface.
    It is recommended that you include the -nows option when starting RLM, which disables its internal web server. In this version, there is no security and any user who discovers the RLM web interface can shut down the RLM license server.
  6. To automatically start the RLM license server upon boot on UNIX systems, use the available example .bat files as a guide to create a script, and place it in the appropriate directory. Example startup files are provided in $VOVDIR/etc/boot. Choose the one that best fits your scenario.

Client Environment Setup

The most reliable method of making licenses available to clients is to set the RLM_LICENSE environment variable to the port and host of the license server, for example:
% setenv RLM_LICENSE 7070@rtdalicsrv

It is recommended that you avoid setting RLM_LICENSE to a file path, which creates unnecessary dependencies on NFS servers.

During the Altair Accelerator product installation, the administrator enters the proper setting for this variable, which is added to the client setup scripts in $VOVDIR/etc: vovrc.csh,, and vovrc.tcl. One of these files is automatically sourced with each user's new shell as long as the vovsetupuser command has been executed for the user.

Verify License Server

The rlmstat utility reports basic information about the licensing. The utility searches for the existence of the RLM_LICENSE variable by default to tell it what license server to query. Optionally, the license file may be passed explicitly with the -c switch.

  • rlmstat
  • rlmstat -c 7070@rtdalicsrv
  • rlmstat -c /<Output_path>/<license_file_directory>/
To get detailed usage information, use rlmstat -a.
> source /<install_path>/<version>/<platform>/common/etc/vovrc.csh
% rlmstat -a
rlmstat v3.0 Copyright © 2006-2020, Reprise Software, Inc. All rights reserved

rlm status on bison (port 7070), up 7d 17:22:25
rlm software version v3.0 (build:3)
rlm comm version: v1.1
Startup time: Wed Sep 26 16:57:40 2019
Todays Statistics (10:19:56), init time: Thu Oct  4 00:00:09 2019
Recent Statistics (00:18:54), init time: Thu Oct  4 10:01:11 2019

Recent Stats         Todays Stats         Total Stats
00:18:54             10:19:56          7d 17:22:25
Messages:    1068 (0/sec)          33401 (0/sec)          612768 (0/sec)
Connections: 803 (0/sec)           24782 (0/sec)          452700 (0/sec)

--------- ISV servers ----------
Name    port Running Restarts
rtdad      36474   Yes      0

rtdad ISV server status on bison (port 36474), up 7d 17:22:25

.... Rest of output omitted ...
To get license availability details, that is, the number of licenses not checked out, use rlmstat -avail:
> source /<install_path>/<version>/<platform>/common/etc/vovrc.csh
% rlmstat -avail
rlmstat v3.0 Copyright © 2006-2020, Reprise Software, Inc. All rights reserved
License availability for all products from all ISVs

ISV: rtdad
server host: bison (port 7070)
server_lm v8.25 available: 20
user_licmon v8.25 available: 400

Usually RLM manages licenses well and programs correctly check in their licenses when they exit, but sometimes you may get stranded or duplicate handles, sometimes from network glitches.

You can use the rlmremove command to revoke handles of licenses that are duplicates or that are otherwise undesirable. Remember that the port is that of the vendor daemon (rtdad) as shown by the rlmstat command, and not of the top level rlm daemon (usually 7070).
> source /<install_path>/<version>/<platform>/common/etc/vovrc.csh
% rlmremove 58786 rtdad f55e
rlmremove v9.3
Copyright (C) 2006-2020, Reprise Software, Inc. All rights reserved.

rlmremove [ 58786 0] - are you sure? [y/n]: y
Note: If you receive the following message:
remove not performed - HELLO message for wrong server (-107)

It means that you omitted the 'rtdad' vendor daemon name from the rlmremove command.