Reprise Licensing
Reprise License Manager (RLM™) is operationally similar to FlexNet Publisher™. The RLM binaries are shipped with each release of Altair Accelerator software.
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.
Client Environment Setup
% 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, vovrc.sh, 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>/
> 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 ...
> 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.
> source /<install_path>/<version>/<platform>/common/etc/vovrc.csh
% rlmremove buffalo.int.rtda.com 58786 rtdad f55e
rlmremove v9.3
Copyright (C) 2006-2020, Reprise Software, Inc. All rights reserved.
rlmremove [buffalo.int.rtda.com 58786 0] - are you sure? [y/n]: y
remove not performed - HELLO message for wrong server (-107)
It means that you omitted the 'rtdad' vendor daemon name from the rlmremove command.
Create the RLM Server Directory
It is recommended to create a dedicated directory that contains the RLM binaries, the RLM license file, and all other RLM-related files, like the log file. It is also recommended to create this directory in local storage on the license server machine, so that the machine can serve licenses without having to mount anything over the network.
RLM can also run from within a network share, but doing so creates multiple dependencies (share server, network connection, etc.) that can reduce the availability of the license server.
Start the RLM Server
Client Environment Setup
% 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, vovrc.sh, 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
-c
switch. -c
command line
option.- rlmstat
- rlmstat -c 7070@rtdalicsrv
- rlmstat -c /<Output_path>/<license_file_directory>/
> 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 ...
> 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
Failover License Server Setup
RLM supports the notion of a failover license server, unlike FlexNet Publisher, which supports triple-redundant license servers instead. This allows for a second license server to run, monitoring the health of the primary server. If the primary server goes down (i.e. the machine is offline and unreachable), the failover server will begin serving out the licenses. If the failover capability is desired, please state so in the license request and provide the name and host ID of the failover machine. See below for more on setting up a failover server environment.
Altair discourages the use of the failover server. Instead, in case of failure of the RLM subsystem, the Altair Accelerator software allows a 5 day grace period to recover the licensing, which should be enough time to either restore the main license server or to move the license server to a new machine.
If a failover license server is to be implemented, use the following guidelines.
Resetting RLM
> source /<install_path>/<version>/<platform>/common/etc/vovrc.csh
% rlmdown rtdad
rlmdown v8.0
Copyright (C) 2006-2020, Reprise Software, Inc. All rights reserved
No license line checksum errors found
shutting down rtdad - are you sure? [y/n]: y
> source /<install_path>/<version>/<platform>/common/etc/vovrc.csh
% rlmreread
Failover License Server Setup
RLM supports the notion of a failover license server, unlike FlexNet Publisher, which supports triple-redundant license servers instead. This allows for a second license server to run, monitoring the health of the primary server. If the primary server goes down (i.e. the machine is offline and unreachable), the failover server will begin serving out the licenses. If the failover capability is desired, please state so in the license request and provide the name and host ID of the failover machine. See below for more on setting up a failover server environment.
Altair discourages the use of the failover server. Instead, in case of failure of the RLM subsystem, the Altair Accelerator software allows a 5 day grace period to recover the licensing, which should be enough time to either restore the main license server or to move the license server to a new machine.
If a failover license server is to be implemented, use the following guidelines.