This document describes the steps required to configure OpenLM with the Sentinel RMS license manager in order to monitor license usage and obtain license statistics.
Requirements
To query the Sentinel RMS license manager:
- OpenLM Server v4.3 or higher must be installed on a machine in your organization. Or a Cloud account.
- (Optional) OpenLM Broker v4.x or higher must be installed on the Sentinel RMS machine in order to take advantage of additional monitoring capabilities and features.
Monitoring capabilities and features
Monitoring capabilities will depend on which method you choose for interfacing with the Sentinel RMS license server.
Feature | Resolution | License totals | License usage | Denials Reporting | Borrowed License Reporting | Expiration Date Reporting | Multiple Server Redundancy |
Support | By second | ✔ | ✔ | ✔ | ✔ | ✔ | ❌ |
Cells in yellow indicate features available when using the OpenLM Server.
Cells in blue indicate additional features available when using OpenLM Server together with OpenLM Broker.
Additionally, using the Broker component allows for buffered communication and the ability to remotely start/stop the license manager service.
Monitoring Sentinel RMS using OpenLM Server only
Diagram of how OpenLM interfaces with Sentinel RMS using OpenLM Server only
The first option for interfacing Sentinel RMS is to have the OpenLM Server query the license manager server directly. This is done remotely with the RMS command-line tools. Using this option, however, limits the available data to only license totals and license usage.
LM Tools configuration
In order to get OpenLM Server to query the Sentinel RMS license server, OpenLM needs access to the RMS command-line tools to query the server. Since these are usually located on a different machine than the OpenLM Server, they must first be copied:
- Copy lsmon.exe, lservnt.exe, and lsapiw32.dll from the Sentinel RMS machine where the license manager is installed (e.g. C:Program Files (x86)\Common Files\SafeNet Sentinel\Sentinel RMS License Manager\WinNT) to the OpenLM Server machine in the installation folder (e.g. C:Program Files\OpenLM\OpenLM Server\LM).
- Open the EasyAdmin -> Start -> Administration -> License Manager Servers.
- Select LM type RMS.
- Select the full path to the RMS executable C:\Program Files\OpenLM\OpenLM Server\lm\lsmon.exe.
- Click SAVE.
Adding a new Sentinel RMS server
After setting up the OpenLM Server configuration tool to work with the Sentinel RMS command-line utility as described above, add a new Sentinel RMS server under the License Servers tab:
- Select the License Servers tab.
- Click Add LM.
- Enter Display Name to help you recognize the license manager.
- Select RMS as LM Type
- Enter Server Host Name and Port (ex 5093)
- Set the Time Zone to where the License Server physically resides.
- Use Broker toggle off
- Click SAVE
OpenLM Server should now be ready to query your Sentinel RMS license manager remotely and present the relevant license information via the EasyAdmin interface.
Monitoring Sentinel RMS using OpenLM Server + OpenLM Broker
Diagram of how OpenLM interfaces with Sentinel RMS using OpenLM Broker
The second option for interfacing Sentinel RMS is to have OpenLM Broker query the license manager server locally. This is done through the RMS command-line utilities (lsmon and lservnt) and any available RMS usage log files. Once this data is queried by Broker, it is sent to OpenLM Server for processing. Using this option gives you full monitoring capabilities over Sentinel RMS.
Please note that OpenLM Broker must already be installed and configured to report to OpenLM Server before proceeding further.
Enabling Sentinel RMS usage log functionality
By default, RMS does not record usage log files. This setting may vary from vendor to vendor, however it must be enabled in order for OpenLM to monitor denials.
The -l <usage-log-filename> argument must be added to either the lservnt / lserv start-up command or to the LSERVOPTS environment variable.
Instructions on how to do so can be found in the Sentinel RMS documentation.
Once usage log functionality has been enabled, note the location of the usage file as you will have to provide it below in step 11 of section 4.2.
In case RMS has already been configured to create a usage log and you want to confirm that the file is the correct one, the first lines of a typical RMS usage log file look like this:
# Startup Sentinel RMS License Manager v8.5.5.0015 Thu Feb 27 06:18:53 2014 1393503533 d55syinf02 4 1984
2 1 MTcyMzY= Thu Feb 27 06:18:54 2014 1393503534 FT-Unified v1.0 0 1 0 e3007110 BLR-SGH123T84M_1 8.5.5.0015 1 – – – – – – 0 – – – MA== 275766 MTM5Mzc3OTMwMA==
2 1 MTcyMzY= Thu Feb 27 06:18:54 2014 1393503534 FTAddins v1.0 0 1 0 e3007110 BLR-SGH123T84M_1 8.5.5.0015 1 – – – – – – 0 – – – MQ== 442468 NzE4MjM0
2 1 MTcyMzY= Thu Feb 27 06:18:54 2014 1393503534 FT-Unified v1.0 0 2 0 e3008699 BLR-2QHZ2BS_1 8.5.5.0015 1 – – – – – – 0 – – – Mg== 570497 MTAxMjk2NQ==
2 1 MTcyMzY= Thu Feb 27 06:18:54 2014 1393503534 FTAddins v1.0 0 2 0 e3008699 BLR-2QHZ2BS_1 8.5.5.0015 1 – – – – – – 0 – – – Mw== 1178556 MTc0OTA1Mw==
OpenLM Broker configuration
Automatic OpenLM Broker configuration
To have OpenLM Broker automatically detect part of the settings required to monitor Sentinel RMS, click Detect in the bottom right corner of the Broker configuration tool window:
If the Sentinel RMS service (e.g. “Sentinel RMS License Manager”) is started, Broker will detect and configure the port and utility path settings automatically. Please note that this only auto-detects some settings and does not guarantee that the configuration is valid. To verify and configure the remaining settings, please continue with step 7 in the “Manual” section below.
Manual OpenLM Broker configuration
If auto-detect did not work, you can also add and configure the license manager manually. To do so:
- Click Add Port
- Enter the Sentinel RMS server port number (e.g. 5093)
- Select RMS from the “License Manager Type” drop-down menu.
- Select the Commands node. Click […] to the left of “Update path for commands:” and browse to the folder where the RMS command-line utilities are located (typically C:Program Files (x86)Common FilesSafeNet SentinelSentinel RMS License ManagerWinNT). Click Update.
- (Windows only) If your RMS install is configured to run using a Windows service, check the Use Service box and type in Sentinel RMS License Manager.
- Click Apply.
- Select the data_inquiry node under Commands then click Execute. Make sure that you see a valid output. Note: on some RMS installs, the lsmon utility is placed in a separate folder. In such cases, you would have to manually edit the “data_inquiry” node to point to the correct path and click Apply before clicking Execute.
- Right-click the Log Files node and then click Add Log File.
- Select the newly created log node.
- Select Other from the Type drop-down menu.
- Click […] right to the Path field and browse to the location of the Sentinel RMS usage log file as you have configured it in section 4.1.
- Click Apply.
- Click Restart Broker.
Using Broker UI:
- Navigate to the Broker UI using a web browser.
- For Automation detection, Click on the Detect button.
Manual OpenLM Broker configuration
If auto-detect did not work, you can also add and configure the license manager manually.
To do so:
- Click on the License Manager tab.
- Click Add License Manager.
- Select LM Type RMS and enter Port Number. Click ADD.
- You are on the Commands Tab now. Check if the path to the executable is correctly set (typically C: Program Files (x86)Common FilesSafeNet SentinelSentinel RMS License ManagerWinNT). You can either copy and paste the path or use the magnifier to browse to its location.
- (Windows only) If your RMS install is configured to run using a Windows service, check the Use Service box and type in Sentinel RMS License Manager.
- Select the data_inquiry then click Execute. Make sure that you see a valid output. Note: on some RMS installs, the lsmon utility is placed in a separate folder. In such cases, you would have to manually edit the “data_inquiry” node to point to the correct path and click SAVE before clicking Execute.
- Go to the Vendors tab and click Add Vendor. Input the Vendor name and click CONTINUE.
- Click on the Log Files tab and Add Log File.
- Select Other from the Log Type drop-down menu and input the a log file name (free text).
- Under Log Path browse to the location of the Sentinel RMS usage log file as you have configured it in section 4.1.
- Click CONTINUE.
- Click SAVE.
OpenLM Server configuration
The Sentinel RMS configuration has now been automatically added to OpenLM Server and should also be present in the OpenLM Server configuration tool.
Manual OpenLM Server configuration
If the automatic configuration of OpenLM Server via EasyAdmin has failed, you can manually configure OpenLM Server to connect to the Broker installation located on the Sentinel RMS machine.
The hostname and port settings must match those that have been configured for OpenLM Broker above.
The steps for configuring OpenLM Server are the same as described in section 3.2 of this document, with the following difference(s):
- The “Use Broker” box must be checked.
Enabling Token Calculator (available from Server v24.6)
When you want to enable this feature, the set of actions must be done:
-
- It’s recommended to back up the
appsettings.json
file before making any modifications. - Ensure you have the necessary permissions to modify the file and restart services.
-
Locate the appsettings.json File:
- Navigate to the OpenLM Server installation directory. The default location is:
C:\Program Files\OpenLM\OpenLM Server\bin
- Navigate to the OpenLM Server installation directory. The default location is:
-
Open the appsettings.json File:
- Right-click on the
appsettings.json
file and choose “Open with” from the context menu. - Select a suitable text editor to view and modify the file content.
- Right-click on the
-
Enable Token Calculations:
- Locate the following code block within the
appsettings.json
file:
JSON}, "AspenTokens": { "AspenTechTokensFile": "../config/aspen_tokens_breakdown.json", "EnableTokenCalculations": false }
- Change the value of
"EnableTokenCalculations"
fromfalse
totrue
. The modified code should look like this:
JSON}, "AspenTokens": { "AspenTechTokensFile": "../config/aspen_tokens_breakdown.json", "EnableTokenCalculations": true // Set to true }
- Locate the following code block within the
-
Save Changes:
- Save your modifications to the
appsettings.json
file.
- Save your modifications to the
-
Restart OpenLM Server:
- To ensure the changes take effect, restart the OpenLM Server service. This can be done through the Windows Services Management Console or by running a command prompt with administrator privileges and issuing the following command:
net stop OpenLM Server net start OpenLM Server
Verification:
Once you’ve completed these steps, Token Calculations should be enabled for RMS within OpenLM Server.
-
- It’s recommended to back up the
How to verify your Sentinel RMS configuration
To check if the Sentinel RMS License Server is monitored correctly:
- Open the EasyAdmin User Interface
- Click EasyAdmin Start → Widgets → License Servers.
The License Servers window will open. Verify that the configured license manager(s) appears on the list. A green circle node indicates an active connection to the license server.
Please note that sometimes it may take up to 3 minutes for the status indicator to change for new connections.