End Google Tag Manager (noscript) -->
USA +1 866 806 2068 | UK +44 203 1292 513 | JAPAN +81 3 45208991 担当:萩原 info@openlm.com

Monitoring License Denials – AN4032

 

Scope

OpenLM monitors and optimizes the usage of various license managers such as FlexLM, DSLS, IBM LUM and Reprise RLM. As part of this activity, OpenLM also produces license denial reports, i.e.: an account of instances in which the vendor daemon has declined an application’s license request. The quantity of license denials is a key parameter in license maintenance and in planning of additional license procurement.The current version of the OpenLM Server (3.3.*) supports license denial reports for FlexLM, DSLS IBM LUM and Reprise RLM. This document addresses the required configurations for obtaining these reports.

The Denials report window

License denial information is clearly presented in the OpenLM EasyAdmin web interface; Start →  Reports → Denials. The report window includes:

  • Details of the denial event (e.g.: Denied username and workstation, Time, License Server, Denied Feature and vendor)
  • Cause for denial (e.g.: limit of available licenses reached or user on Options file exclude list)
  • Group-by selection menu, for displaying denials according to categories such as Features, Vendors, Users, Time period, Servers etc.
  • The data may be displayed in a table, or in various graphical formats
  • “True” denials – After being denied a software license, a user may request it again repeatedly, or perhaps be granted a license from another license server. OpenLM is capable of filtering out such license requests to show only cases in which the user was ultimately denied a license. These are referred to as “True” denials.
  • Additional filtering options, e.g.: Exporting the reported data to a CSV file, sharing the report with other group members, and saving preset report filters to save

The image below depicts an example of a ‘Denials’ report window for Autodesk licensed features:

Set up OpenLM to monitor license denials

In order to produce denial reports for monitored licenses, please:

1. Set up the OpenLM Server to monitor the License server. In this example I have set OpenLM to monitor three different license servers on 3 different ports of of the machine my_license_server:

  • FlexLM license server on port 27000
  • IBM-LUM license server on port 1515
  • DSLS license server on port 4084

2. Install the OpenLM Broker on the License server machine, and set it to work opposite the OpenLM Server, and to monitor the local license servers, as described in the OpenLM Broker documentation:

Make sure that the License server name is exactly the same as configured in the OpenLM server configuration tool (e.g.: my_license_server).

3. Configure the OpenLM Broker to extract license denial information.

3a. For FlexLM:

  • Click the ‘Log files’ node on the left configuration pane.
  • Click the green ‘Add’ button
  • In the “log file definition” – Type dropdown menu, select “FlexLM Debug log file”.
  • In the ‘Path’ textbox, set the debug log file’s full path.
  • Click ‘Apply’ and “Restart Broker” to finalize the configuration.

See the image below for clarification:

 

3b. For DSLS:

  • Click the ‘Log files’ node on the left configuration pane.
  • Click the green ‘Add’ button
  • In the “log file definition” – Type dropdown menu, select “Other”.
  • In the ‘Path’ textbox, set the debug log file’s full path.
  • Check the “Watch file by pattern” box.
  • Make sure the ‘Vendors’ drop down menu shows the correct vendor name (e.g.: dassault systemes v5).
  • Click ‘Apply’ and “Restart Broker” to finalize the configuration.

See the image below for clarification:

 

3c. For IBM-LUM:

After configuring the OpenLM Broker to monitor the IBM-LUM license server (see item #2 above), OpenLM will be also set to query the license server for license denials. Click on the ‘Commands’ → ‘Denial’ node to review this configuration. You can also examine its functionality by clicking the ‘Execute’ button. See the image below for clarification:

3d. For Reprise RLM:

  • Click the ‘Log files’ node on the left configuration pane.
  • Click the green ‘Add’ button
  • In the “log file definition” – Type dropdown menu, select “Other”.
  • In the ‘Path’ textbox, set the log file’s full path.
  • Check the “Watch file by pattern” box.
  • Click ‘Apply’ and “Restart Broker” to finalize the configuration.

4. Make sure the Broker indication in the EasyAdmin ‘Start’ → ‘Widgets’ → “License Servers” window is green. Note the green Broker uptime indication.

If it isn’t so – wait a while and refresh the “License servers” window. If it is still red – recheck your configuration, and check for alerts in the EasyAdmin → Start → Widgets → Alerts window.

Case Study: License number surpassed

In case the number of licenses has been surpassed – the vendor daemon would deny the license request, and a license denial notification will be produced. In the case of FlexLM AutoCad: this is Network license error -96.

 

The debug log file shows this too as a string

“ Licensed number of users already reached. (-4,342) “

Note the last denial report at 4:12:22 (Central time):

It will be apparent on the EasyAdmin Denial reports window at 2:12:22, according to the difference in time zones between the location of the OpenLM Server (Pacific time) and the AutoCad License server (Central time, US).

 

Troubleshoot: Denials do not appear in the Flexnet debug log

Denial reports may not appear in the FlexLM debug log if the application’s option file contains a NOLOG line, with a DENIED flag. If this is the case, edit the options file to exclude this flag, and restart the license server.