Interfacing the LM-X license manager – KB4001g
OpenLM supports license monitoring of a wide, and ever growing variety of license managers.
This application note elaborates the steps required to configure OpenLM to interface the LM-X license server, to monitor license usage and obtain license statistics.
There are two options to query the LM-X License Server:
- the first option is to remotely query the license server from the OpenLM Server.
- the second option is to install the the OpenLM Broker on the same machine as the LM-X license server, query the License Server locally, and propagate the information back to the OpenLM Server.
2. Option One: OpenLM Server direct method
2.1. Enabling the OpenLM server to work with LM-X
In order to configure OpenLM to work with LM-X, follow these steps:
Select the LM Tools tab, located on the left side.
Select the LMX tab.
Copy lmxendutil.exe to “C:\Program Files\OpenLM\OpenLM Server\LM” (64 bit) or “C:\Program Files (x86)\OpenLM\OpenLM Server\LM” (32 bit).
Copy the full path of the lmxendutil.exe executable file in the LM-X executable file text box.
2.2. Introducing a new LM-X server
After configuring the OpenLM configuration tool to work with LM-X as described above, introduce a new LM-X server under the License Servers tab:
1. Select the License Servers tab, and click Add.
2. From the Type drop-down menu, select LMX.
3. Type in a descriptive text in the Description text box.
4. Set the Time Zone to where the License Server physically resides.
5. Submit appropriate Hostname and Port numbers. The LM-X default port is 6200.
6. “Is Triad Configuration”: OpenLM supports multiple server redundancy configurations for several types of license servers (e.g. FlexLM, DSLS, IBM LUM). At the time of writing this article, OpenLM does not yet support multiple server redundancy for LM-X. Keep this box unchecked.
8. Use Broker check box:
- Unchecked (Default): The OpenLM Server actively queries the license manager. Keep this configuration when not employing the OpenLM Broker.
- Checked: Usage information is obtained solely by the OpenLM Broker installation on the License manager machine.
8. Click Apply.
That’s it !
OpenLM Server should be ready to query your LM-X license server, and present the information over the EasyAdmin web application.
3. Option Two: via the OpenLM Broker
The OpenLM Broker is an optional, though highly recommended component, that should be installed and configured on the LM-X license server machine. The OpenLM Broker queries the LM-X license server locally, and propagates the data to the OpenLM Server. It facilitates robust, buffered communication with the OpenLM Server to overcome temporary network failures, and security issues. In addition to that, the OpenLM Broker queries the LM-X license server for license request denials information, which is an important indication of license efficiency.
3.1. OpenLM Server configuration
Follow the same steps for configuring the OpenLM Server as listed above, with the following exception: Check the “Use Broker” box.
3.2. OpenLM Broker configuration
1. Download and install the latest OpenLM Broker version. Follow the installation and configuration instructions on the OpenLM Broker Application Note:
- OpenLM Broker installation Guide: Quick Reference or
- OpenLM Broker Installation Guide: Comprehensive
2. Configure the OpenLM Broker to monitor the LM-X license server (e.g. SILV-PC) on the license manager’s port (e.g. 6200). These configurations must exactly match those of the OpenLM Server configuration tool (see above).
3. In the ‘status‘, ‘data_inquiry‘ and ‘denial‘ command line text boxes, fill in the full path to the ‘lmxendutil.exe’ file. You can use the Commands node to indicate a path and click Update to update all of them at once.
4. Click Apply then Restart Broker.
4. Verify the LMX configuration
Verify the OpenLM configuration to monitor the LM-X license server via the EasyAdmin web application.
- Open the EasyAdmin web application.
- Click EasyAdmin Start → Widgets→ License Servers. The License Servers window appears.
- Verify that the configured license manager appear on the list. A green circle node indicates an active connection to a license server.