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.
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.