Monitoring the CodeMeter license manager with OpenLM

OpenLM supports license monitoring of a wide and ever-growing variety of license managers. This document describes the basic procedure for configuring the OpenLM server to interface with a CodeMeter license manager in order to monitor license usage and extract CodeMeter license usage statistics.

1. Installation

The OpenLM system components are available for download on the OpenLM site. For the bare minimum, the latest OpenLM Server should be installed. OpenLM Broker is an optional but highly recommended component that can be installed on the license server machine for additional monitoring features (such as Denials) and remote control over the CodeMeter server.

2. Monitoring capabilities and features

The current monitoring capabilities available for CodeMeter through the OpenLM Broker are as follows:OpenLM collects license totals, license usage data, and denials. A denial entry describes that a user requested a license but did not get one because no more licenses could be allocated.

When querying the license manager through OpenLM Broker, administrators get additional benefits such as:

  • Buffered communication with OpenLM Server in order to overcome temporary network failures
  • Remotely start/stop the license manager service
  • 1-minute resolution for license usage reports.
  • Denials reports – at this stage, OpenLM supports only one denials type – LIMIT REACHED. Only the Event WB0212 (NO MORE LICENSES) in the CodeMeter log file means a Denial in the OpenLM Server report.

3. Monitoring the Codemeter with OpenLM Server only

In order to configure OpenLM Server to monitor the CodeMeter License Manager:

1. Access your EasyAdmin User Interface.

2. Navigate to Start→Administration→License Manager Servers. Click Add LM in the upper left corner. Add License Manager window appears.

3. In the Display Name field input the desired License Manager Name. Make sure the “Enabled” toggle is turned on.

4. From the “Type” dropdown list, select CodeMeter. Make sure for this configuration (monitoring with OpenLM Server only), the Use Broker toggle is turned off.

5. Submit an appropriate Hostname and Port number (default: 22350).

6. Select the Time Zone that matches CodeMeter’s license server location.

7. Keep the “Is Triad Configuration” toggle disabled.

8. Click SAVE.

 

At this point, the configuration is complete, please follow step 5 from this document.

 

4. OpenLM Broker Configuration for monitoring CodeMeter

In case the OpenLM Server is not installed on the same machine as the CodeMeter server, OpenLM Broker will have to be installed on the CodeMeter server machine in order to query the CodeMeter license usage locally.

Also, please make sure the CodeMeter logging:  https://wiki.tuflow.com/index.php?title=Codemeter_Enable_Logging

To configure OpenLM Broker to interface with the CodeMeter license server:

1. Navigate to your OpenLM Broker web UI by accessing http://localhost:5090/→ License Managers tab.

2. Click Add License Manager. A pop-up window will appear.

3. Enter the CodeMeter Port Number (default: 22350) and select “CodeMeter” from the License Manager Type drop-down menu.

4. Click ADD. You will be directed to the Commands tab.

5. In the Executable path field type in the location where CMU32.exe file is located (typically located in C:Program Files (x86)CodeMeterRuntimebin). Click Execute and make sure the output is valid and the OpenLM Broker can query the CodeMeter license server.

6. Switch to the Vendors tab. Click Add Vendor. A pop-up will appear. Input the vendor name and click CONTINUE.

 

7. Switch to the Log Files tab. Click Add Log File. A pop-up window appears. Declare the CodeMeter log files (the default is C:\Program Data\Codemeter\Logs) or navigate to it by clicking the magnifier. By clicking Advanced, you can configure parameters such as:

  • File reading frequency
  • Sent data limit size
  • Encoding
  • Watch file by pattern – make sure the toggle is on to monitor the license denials. Also, the logs may be configured to change names periodically. In order to continue acquiring LM’s logs’ information, check the “Watch files by pattern” to intelligently seek the subsequent log files.

8. When ready, click CONTINUE.

9. Click SAVE.

 

5. Verify the configuration

OpenLM Server should now be interfacing with the CodeMeter license manager. To verify that everything is being tracked properly:

1. Open the EasyAdmin User Interface (access http://OpenLM Server hostname:5015/ in your browser)

2. Click EasyAdmin Start → Widgets → License Servers. There will be a notification about pending License Managers Servers. Click on it and approve the CodeMeter License Manager.

Verify that the configured CodeMeter license manager appears in the License Servers list. If everything has been properly configured and the CodeMeter license server is up, you should see a green circle right to the right.

To see the Denials Report, navigate to EasyAdmin User Interface→Start→ Reports→ Denials. Apply the required filters and the Denials report will be displayed:

What are your feelings
Skip to content