Upcoming Webinar: Register now >>

15th

January

2025

Must-attend SAM event of the year

15th

January

2025

Must-attend SAM event of the year

Monitoring the EPLAN License Manager with OpenLM Broker – KB814

This document describes the steps required to monitor the EPLAN License Manager Professional server with OpenLM in order to obtain usage and license statistics. This guide is based on the EPLAN implementation integrated with OpenLM Broker v4.8.8 or higher.

Requirements

To query the EPLAN license manager, the following components must be installed:

  1. EPLAN License Manager Professional installed on the license server (EPLAN License Manager Basic does not have a reporting interface and cannot be queried by OpenLM)
  2. OpenLM Server v2x or higher installed on a machine in your organization
  3. OpenLM Broker v4.8.8 or higher installed on the same machine as the EPLAN license manager

 

Monitoring capabilities and features

The monitoring capabilities available for the EPLAN license manager through the OpenLM Broker are as follows:

Feature Resolution License totals License usage Denials Reporting Borrowed License Reporting Expiration Date Reporting Multiple Server Redundancy
Support By second

Additionally, using the Broker component allows for buffered communication in case of network interruptions.

 

OpenLM Broker configuration

How OpenLM interfaces with the EPLAN license managerDiagram of how OpenLM interfaces with the EPLAN license manager

The mechanism of how OpenLM Broker interfaces with the EPLAN license manager is as follows:

  1. Broker runs the ElmMonitor.exe tool at certain intervals to generate portions of the log file.
  2. These fragments are compiled into one log file which is then converted into an XML file of the OpenLM Generic format.
  3. All gathered license usage information is then sent to OpenLM Server for processing. This data is then accessible through the EasyAdmin interface.

Please note that OpenLM Broker must already be installed and configured to report to an OpenLM Server before proceeding any further.

 

Locating ElmMonitor.exe for logging functionality

In order to obtain license usage data from the EPLAN license manager, Broker must run the ELM Monitor application. The default location is the EPLAN directory (“C:/Program Files/EPLAN/ELM/ElmMonitor.exe”). If you cannot locate it, you must install the License Tools add-on, which can be found on your EPLAN installation media at ELMLicense Tools (x64)setup.exe or obtained from the EPLAN website.

For more information, please consult the “Installing the EPLAN License Manager Monitor” section in the EPLAN installation guide.

 

OpenLM Broker configuration

To set up Broker to monitor the EPLAN license server, in the OpenLM Broker configuration tool:

  1. Click Add Port.
  2. Enter any port number (since Broker interfaces EPLAN using only the log file, any value will do. E.g. 27001).
  3. Select EPLAN from the “License Manager Type” drop-down menu. Click Apply.
  4. Select the Commands node. Click […] next to the right of the “Update path for commands” field and browse to the location of ElmMonitor.exe. Click Update then Apply.
  5. If you wish to change the default name and location of the log generated by Broker, go to Log Files → ElmMonitor output. Either type in a new path or click […] and browse to an empty text file. Click Apply.
  6. In a text editor, open the EPLAN@PORT.properties file that has been created in the OpenLM Broker folder (typically “C:Program FilesOpenLMOpenLM Broker”).
  7. Adjust the values as described in the “EPLAN.properties” section below. When done, save and close the file.
  8. Click Restart Broker.
  9. Follow the steps in the next section (“4. OpenLM Server configuration”).

OpenLM Broker settings for EPLAN

 

EPLAN.properties configuration

Configuring the eplan@port.properties file

The relevant values for the EPLAN@PORT.properties file should be configured as follows:

  • monitored.log.next – used to specify which log file Broker should read: newest (default) means that if you have multiple files, the latest one will be chosen; newer is good for testing purposes and if you want OpenLM Broker to read historical data from multiple files, one-by-one. However with newer, it is not guaranteed that all data will be loaded.
  • eplan.log.encoding – the encoding to be used for the generated EPLAN log file. We recommend leaving the default setting as is (default: UTF-16LE)
  • eplan.elmmonitor.path – the path to ElmMonitor.exe. Set it here if you have not configured it in step 4 of the configuration tool settings. Since ELM Monitor is a GUI tool, it is recommended to add /Silent at the end of the path to avoid possible process leaks.
  • eplan.elmmonitor.xml – Leave empty to load the default eplan_openlm.xml file, or enter the full path if you need to customize output
  • eplan.elmmonitor.datetime.format – Format applied to /From and /To parameters in the generated log file (default: dd.MM.yyyy HH:mm:ss)
  • eplan.delete.elm.files – by default it is set to true in order to cleanup the generated log files. Set to false for debugging purposes.
  • eplan.bundles.path – Change if it doesn’t match your system’s EPLAN bundles path (default: C:\Users\Public\EPLAN\ELM\Bundles.4elm)

Alternative: Manual OpenLM Broker Web UI configuration

  1. Download and install the latest OpenLM Broker version. Follow the installation and configuration instructions on the OpenLM Broker configuration guide.
  2. Access your Broker web UI instance (http://localhost:5090/).
  3. Navigate to the License Managers tab.
  4. By default, if the license manager service is running, using the Broker’s “Detect” function should find and configure the EPLAN license manager automatically.
  5. If the Detect button did not work, follow the steps below:
  6. In the License Managers tab, click Add License Manager. A pop-up will appear. From the LM type drop-down list, select EPLAN . Input the port number (e.g. 80) and click ADD.
  7. The ADD LICENSE MANAGER configuration window appears.
  8. Switch to the Commands tab. In the Executable path field, and browse to the location of ElmMonitor.exe. Click Execute and make sure the output is valid
  9. Switch to the Vendors tab. Click Add Vendor. A pop-up appears. Type in “EPLAN ” or other free text for the Vendor name then click Continue.
  10. Click SAVE.
  11. Follow the steps in section 4 (“Configuring OpenLM Server”), below.

 

OpenLM Server configuration

Automatic OpenLM Server configuration through EasyAdmin

If you have followed the steps in the sections above, OpenLM Broker should now be transmitting data to OpenLM Server. The final step is to approve the configuration in EasyAdmin:

  1. Open the EasyAdmin interface either by accessing http://<OpenLM Server IP>:5015 in your browser or through Windows Start → OpenLM → OpenLM EasyAdmin User Interface
  2. In the License Servers window, hover over the red row that contains the details of the newly added EPLAN server entry and click Approve.

At this point, the EPLAN license manager has been automatically added to OpenLM Server and configuration is complete.

 

Manual OpenLM Server configuration

If EasyAdmin does not display the “Approve/Clear” message for the configured EPLAN license server, you must manually configure OpenLM Server to connect to the OpenLM Broker installation located on the EPLAN license manager machine.

Adding an EPLAN server

1.Open the Easyadmin interface. click on OpenLM Start → Administration → License Manager server. This will launch a window.

2.Click the ’Add LM’ button.

3.Insert a description in the Description text box (e.g. “EPLAN license manager”)

4.From the Type drop-down menu, select EPLAN.

5.Use Broker – Toggle ON the button.

6.Enter the Hostname and Port number of the machine where the EPLAN license manager is installed. They must be exactly as configured for OpenLM Broker.

7. Set the Time Zone to where the EPLAN license server physically resides.

9.Click on “Save”.

OpenLM Server is now configured to monitor incoming data from OpenLM Broker.

 

How to verify your EPLAN license manager configuration

To check if the EPLAN license manager is being monitored correctly:

  1. Open the EasyAdmin web application (access http://<OpenLM Server hostname>:5015 in your browser)
  2. Click EasyAdmin Start → Widgets → License Servers. Verify that the configured license manager(s) appears in the server 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 if this is a new connection.

What are your feelings
Skip to content