Wednesday, May 13, 2009

How OpenLM threshold works

How OpenLM threshold works

Background

OpenLM for ESRI ArcGIS implements a TIMEOUT feature for ESRI ArcGIS software that uses FLEXlm software for licensing. The activity of the TIMEOUT feature is based on two parameters, maximum idle time and threshold.

Maximum idle time (minutes) - Set the maximum time that ESRI ArcGIS software will not be closed, even if the software is not in use (idle). The software may be closed after that time, if the usage is above a set level (threshold).

Threshold (percent) - The usage level that above it OpenLM will start to release ESRI ArcGIS FLEXlm licenses.

How it works?

OpenLM monitors the usage level of each FLEXlm feature and once the usage level is above the set threshold, OpenLM will gracefully close sessions, starting with the ones that are idling longer. Once the usage level drops below the set threshold, OpenLM Server will not close more idling sessions.

From the end user's point of view, his ESRI ArcGIS project will be saved and then closed. A pop-up message will announce that the project was closed and will allow the user to reopen the project in a single click. The user can also click OpenLM Agent located on the end user desktop and get the list of all recently closed projects.

Discussion

The combination of the threshold/maximum idle time is a simple system that assures that licenses will be available for users that need licenses while trying to minimize the number of closed sessions.

Since the act of closing idle sessions of ArcGIS Desktop can cause some inconvenience OpenLM, is trying to minimize the number of closed sessions. If there is no need for the Desktop ArcGIS licenses then the software can stay idling for very long periods of times. On the other hand OpenLM Server must assure that a sufficient number of licenses are available for new users that may try to access the software.

Let us use and example:

ESRI ArcView Licenses - 100
ESRI ArcInfo Licenses - 10
ESRI ArcGIS Spatial Analyst - 3

The default OpenLM Values are:

Threshold - 80%
Maximum idle time - 20 Minutes

Starting with the ArcView licenses, OpenLM will try to keep 20 licenses free for new users. Since 400 or more users can use a pool of 100 ESRI ArcGIS concurrent licenses. Keeping an amount of 20 free licenses available for new users makes sense.

With a total of 10 licenses available, OpenLM will try to keep two free licenses of ESRI ArcInfo ready for new users. Assuming that 8 licenses were already consumed, if more then two users try to access the ESRI ArcInfo licenses at the same time, some will get a FLEXlm denial. If two or less users request an ArcInfo license at the same time, their request will be fulfilled and then OpenLM will try to release idle sessions for more new users.

Because of the low number of Spatial Analyst licenses, OpenLM will only keep one floating license free for new users. This is because when two licenses are in use the usage rate is only 66% (less than 80%). Only when the third floating license is consumed the usage rate will be 100% and OpenLM will try to release one license for new users.

As shown above, the threshold mechanism works well for both high and low numbers of ESRI ArcGIS concurrent licenses.

Is there any benefit in applying different timeout values for different features?

Let us assume we have two FLEXlm features with different groups of users for each group: editing users that use ESRI ArcInfo and viewers the use ESRI ArcView.

Feature     Licenses   Users
ArcView         10        40
ArcInfo          10        20

With a threshold of 80% OpenLM will try to keep two (2) free licenses for each FLEXlm feature (ArcView and ArcInfo). Since there are less users that are sharing the ArcInfo FLEXlm feature (10 licenses for 20 users), there are more chances that less then 8 licenses will be concurrently in use. When the usage is bellow the set threshold, no sessions will be closed by OpenLM and by that, we actually extend the maximum idle time parameter.

If the usage rate of the FLEXlm ArcInfo feature is higher then the set threshold, 80%, a higher time out will not allow OpenLM to release idle licenses. The result is that we allowed idle users to hold licenses that are required by other users, and by that, avoided them from doing their work.

The conclusion is that timeout should be kept minimal and uniform to all features and user groups.

Summary

The timeout mechanism provided by OpenLM for ESRI ArcGIS is based on two parameters, "maximum idle time" and threshold. The combination of these two parameters provides a good solution for FLEXlm features with both high and small number of licenses. The timeout value should be kept minimal (15-20 minutes) for all FLEXlm features and user groups.


Wednesday, May 6, 2009

SAMreport Alternative

SAMreport is a license reporting tool used in conjunction with the FLEXlm license server. It is a report generator that reports the license usage of FLEXnet-licensed applications.


SAMreport reports license use is based on license activity recorded in the FLEXnet report logs, and on selected criteria that include product and feature name, user, date and time, and display or host.

The reports provided by SAMreport belong to three report families:


Macrovision (that sold its software business to Acresso) has retired SAMreport at the end of 2007 and has replaced it with FLEXnet Manager which is a complete management system for FLEXLm. The price of FLEXnet Manager is much higher then SAMreport or OpenLM price.


OpenLM Utilizer provides the most cost/effective solution for managing and tracking usage of FLEXlm floating licenses. It includes all the functionality of the retired SAMreport and a lot more:
  1. All information is stored in a relational database instead of flat files.
  2. FLEXlm management functionality like listing active users/removing uses/alerts on license expiration and more.
  3. Web based interface.
  4. Support for multiple servers/time zones.
  5. End user tool - OpenLM Agent.
  6. And more..

The fully functional OpenLM Utilizer software is available for download and evaluation at OpenLM website.