FAQ: Flexera lmgrd log file is very big


The lmgrd log file collects all license check out / check in activity. This log would continue to increase in size and as long as the licensed service is running.

The log is cleared when the licensed service is restarted.
This can be done via Flexera’s LMTOOLS UI.

On The “Services/License File” tab choose the licensed service. e.g.: Autocad.

On the “Config Services” tab – you can view the log (e.g: Autocad.log) and its path.

On the “Start/Stop/Reread” tab, use the marked buttons. This would clear the service log file (Autocad.log) and restart logging.

One of the advantages of the OpenLM system is that the accumulation of large amounts of data in this log file is made redundant. The OpenLM Broker is a component in OpenLM’s system which reads the licensed log file, and reports its content to the OpenLM server. There this information is processed and exhibited in a clear and negotiable manner.

 

 

OpenLM Software University Program

OpenLM is a worldwide operating software specialist for management and monitoring of network licenses (floating, concurrent user, token based) utilization. OpenLM’s Software provides a comprehensive management solution for license management software such as FLEXlm, FLEXnet, Sentinel RMS, Sentinel HASP, RLM, IBM LUM DSLS and LM-X.

Universities naturally hold an extensive profile of licensed software applications, a vast population of users set in various groups, and different levels of license usage permissions. Handling a database of this magnitude and complexity is a real challenge.

This is where OpenLM’s benefits show. OpenLM eases the management of diverse license databases, and introduces the option for cost allocation per usage for software licenses, thus reducing usage costs considerably, and minimizing the need for further license acquisition.

In order to improve OpenLM’s cooperation with universities, OpenLM has introduced its new university program. This program provides a professional solution for universities to manage and monitor the utilization of software products like CAD, CAE, Software Engineering and GIS. The program’s pricing scheme takes the universities’ financial considerations into account.

We are convinced that the apparent assets that the OpenLM software brings to license management would be highly appreciated by Universities, and that these benefits would be embraced by faculties such as Engineering (Electrical, Mechanical, Aerodynamics, etc), Physics, Informatics, Architecture and Geo-sciences. OpenLM has been known to improve the utilization of prominent licensed application such as  Autodesk Autocad, ESRI ArcGIS, MATLAB, PTC and CATIA by as much as 30%.

Universities and departments that are interested in this program should contact OpenLM through info@openlm.com.

 

Application Note 1020: Manually Removing Licenses Using the EasyAdmin web application

Scope

OpenLM’s main Administrative interface, the EasyAdmin web application, enables administrators to manually retrieve licenses via designated action buttons on the “Active Products” window. This option has proven to be very useful, however it seemed to have raised certain inquiries by customers. This document sums up the properties and limitations of the system’s license removal capabilities.

The “Active Products” window

The “Active Products” window displays data about licenses that are used at the current time.
Each line of the display represents a user who is momentarily using a specific license. It shows specific details about the software session such as start time and duration. Some of the information presented in this window originates in the OpenLM Agent module, so a proper installation of the OpenLM Agent (Active Agent or Utilizer Agent) on each client workstation is a prerequisite to obtaining this data.

With the “Active Products” window,  administrators can monitor individual workstations that run licensed applications. They can detect idle applications, and shut down such applications with a mouse click. In order to retrieve licenses and shut down applications, an OpenLM Active Agent module must be installed on each client workstation.

User Idle

If the user has not been actively using the license, the idle time period would be shown in the “User Idle” column. This information is sampled by OpenLM Agent modules (Active Agent or Utilizer Agent) on each client workstation, and sent to the OpenLM server. The sample period is set by the Agent policy’s “Agent report” period, as in the example below (set to 60 sec).


Removing licenses

Administrators have the option to manually remove a license from a specified workstation. This is done by highlighting the user row on the Active Products window and clicking the “Remove License” icon (See image below).
There are several constraints that are specific to this feature:

  • The end user must have been inactive for a minimum period of time in order for his license to be retrieved.
  • If the license is not really associated with any real product activity on the specified workstation (as happens when a license gets artificially “frozen” on a computer), then the license will be freed and will be returned to the pool of available licenses.
  • If the worker is actually using the product, then re-obtaining a license would be automatically attempted. If this happens the license for that product and workstation will re-appear on the active products screen, with a new handle number.
  • Retrieval of licenses may only be accomplished once a minimal period of time has elapsed since the license was checked out. This value is set by default to 5 minutes in compliance with FLEXlm license manager’s limitations.

Closing applications

In order to actively close an application on the workstation,  an administrator should highlight the relevant row, and click the Close Application icon (See image below).

This operation will retrieve the license back to the license pool, save the open project,  and the application itself will be shut down.
There are some constraints that are specific to this feature:

  • It requires a proper installation of the OpenLM Active Agent module.
  • It works only extension-based active agents. At the time of writing this revision (Rev 1.1), these include Matlab, ArcGIS and AutoCAD.


Common Constraints

There are several constraints that are common to both the License Removal and Application Closure features.These are as follows:

  • At the time of writing this revision (Rev 1.0), These features are only available when working with the FLEXlm license manager.
  • An OpenLM Agent module must be properly installed on each Client workstation. The Application closing feature requires the Active Agent. The License Removal feature may use either the Active Agent or the Utilizer Agent.
  • Borrowed licenses (AKA Linger licenses) may not be retrieved via the EasyAdmin application.

Revision 1.1: Orik, Apr 15 2012


Autodesk cascade licensing and the PLIST

Autodesk cascade licensing and the PLIST.

Feature codes

When you start the network version of an Autodesk product, a request is made to the network for a license. The Network License Manager controls the licenses that are issued and handles license requests through feature codes. Feature codes are specific to the networked application; Each network version of an Autodesk product has a specific FLEXnet® feature code.

Cascade Licensing

Cascade Licensing allows a product to obtain a license from a network license manager pool when that license manager is servicing more than one product. Cascading was implemented primarily to address mixed-product environments where both suite and base products co-exist.

PLIST

For Autodesk products that are included in a product suite and are also sold as an individual product, licenses are allocated based on a sequence of priorities defined in a PLIST (priority list).
The PLIST increment section defines the search order and priority for network licensed products sold as a series or bundle.

This PLIST increment was included in the license file and needs to exist there only once. It should always include the most recently released Autodesk products; Deleting or editing this PLIST increment is not supported by Autodesk.

PLIST example:

The VENDOR_STRING is split into groups denoted by a letter and a number. For example, A07.
The groups contain feature codes for the applicable series or sets of products. These groups are subject to change as new product offerings are released.
At the present time the following groups are included in the PLIST VENDOR_STRING:
Autodesk® Land Desktop, Autodesk® Civil 3D®
A07:51600ACDLAND_2007_0F:52200CIV3D_2007_0F
AutoCAD® Mechanical, Autodesk Inventor® Series, Autodesk Inventor® Professional
B07:51900AMECH_PP_2007_0F:51300INVBUN_11_0F:52900INVPRORS_11_0F:53000INVPROSIM_11_0F:51400INVPRO_11_0F
AutoCAD®, Autodesk AutoCAD® Revit® Series—Building, Autodesk AutoCAD® Revit® Series—Structure
C07:51200ACD_2007_0F:52500REVITS_9_0F:53700REVSU_3_0F
Autodesk® Revit® Building, Autodesk AutoCAD® Revit® Series—Building
D07:52600REVIT_9_0F:52500REVITS_9_0F
Autodesk Internal Test Increment – not used by customer products
E07:51200ACD_2007_0P:51300INVBUN_11_0P
Autodesk® Building Systems, Autodesk AutoCAD® Revit® Series—Systems Plus
F07:51800BLDSYS_2007_0F:53100REVSYP_1_0F
Autodesk® Revit® Structure, Autodesk AutoCAD® Revit® Series—Structure
G07:53400REVITST_3_0F:53700REVSU_3_0F

ProductInformation.pit

For the 2010 products, the PLIST increment is no longer include in the license file but is now stored in a new external file named ProductInformation.pit. License files will still include PLIST increments for legacy products, however 2010 products will reference the ProductInformation.pit file for the required PLIST information.
The ProductInformation.pit file is automatically created on the local machine when a product gets installed and there will only be one ProductInformation.pit file, shared by all installed products. The file is created when the first 2010 product is installed and is appended to with each subsequent product installation. Likewise, when a product is uninstalled it unregisters itself from the ProductInformation.pit file. When the last product has been unregistered from the file, ProductInformation.pit is automatically removed from the machine.

With the exception of the PLIST, the ProductInformation.pit file does not contain PACKAGE information or any other information that is normally included in the license file.

Location

The ProductInformation.pit file is created on the workstation in the following locations:
XP: C:\Documents and settings\All Users\Application Data\Autodesk\ADLM\ProductInformation.PIT
Vista: C:\ProgramData\Autodesk\ADLM\ProductInformation.PIT

Constraints

Just as with other licensing components, the ProductInformation.pit file should not be moved from its default location. In addition to the PLIST increment, the ProductInformation.pit file contains other licensing information for the installed products and a 2010 product will not run correctly without this file.
Since the ProductInformation.pit file is encrypted and unreadable, One could no longer inspect the PLIST to determine the cascade order for 2010 products.

Combining license files example

To add additional product licenses to the Network License Manager, you must combine the separate licenses into one license file and configure a single service in LMTOOLS to use this combined license file. This action involves the PLIST VENDOR_STRING, and as such is an example for its role in the license file.

To combine license files for Autodesk products into one license file, you must edit the existing license file and add lines from the new license file. Do not configure a separate service for the new Autodesk product.
To edit the existing license file, copy all of the lines from the additional product license file starting at the line beginning with PACKAGE.
The following is an example of how to add AutoCAD 2007 licenses to an existing AutoCAD 2006 license file:

Existing license file for AutoCAD 2006:
SERVER servername 0123456789ab
USE_SERVER
VENDOR adskflex port=2080
INCREMENT 48800ACD_2006_0F adskflex 1.000 permanent 5 \
VENDOR_STRING=nfr:permanent BORROW=4320 SUPERSEDE DUP_GROUP=UH \
ISSUED=01-Sep-2006 SN=123-45678900 SIGN=”06DE F4C2 998E ABD3 \
2413 D3A0 77EB 0CCE 203C 7BEA 73A3 25F5 0A8D EA5E E26D 1C18 \
968B BE2E 966D C293 AEF0 97F5 9776 057F 652C 6050 D904 A755 \
5A35 7909″ SIGN2=”1A49 5DFA 4C92 D6DC BD74 7D15 6B3F 730D A342 \
EEBC C63F 1838 FFBC 2CD8 B6E0 0113 0E3D 540F AE73 C8B4 C90C \
BA1F 049D             9464 0477       8D53 06AD 0992 5B16 3A92″
License file received for AutoCAD 2007:
SERVER servername 0123456789ab
USE_SERVER
VENDOR adskflex port=2080
INCREMENT 51200ACD_2007_0F adskflex 1.000 permanent 5 \
VENDOR_STRING=nfr:permanent BORROW=4320 SUPERSEDE DUP_GROUP=UH \
ISSUED=01-Sep-2006 SN=123-45678900 SIGN=”19DA F1B9             2187 1910       \
10DB 61CD 4013 BC85 40EE 6AAC F11C 8AA8 9E49 3833 FBDB 0E68 \
1172 C1FE 704F 611C EAF3 E008 14DC C713 35AB 6D33 7C06 0DE2 \
0A47 BDC2″ SIGN2=”0B1B 3967 DC25 1AA2 3DBA 4F29 E076             4472 9716       \
5A38 9CA2 1A3E 2001 68CC 59D4 05CB 0699 9B5A F358 56B7 5056 \
DE42 7FBB ED04 AF77 CDB4 AC31 4564 88A4 5132″
INCREMENT PLIST adskflex 1.000 permanent 1 \
VENDOR_STRING=A07:51600ACDLAND_2007_0F:52200CIV3D_2007_0F;B07:51900AMECH_PP_2007_0F:51300INVBUN_11_0F:52900INVPRORS_11_0F:53000INVPROSIM_11_0F:51400INVPRO_11_0F;C07:51200ACD_2007_0F:52500REVITS_9_0F:54100REVITS_9_1F:53700REVSU_3_0F:54200REVSU_4_0F;D07:52600REVIT_9_0F:52500REVITS_9_0F;E07:51200ACD_2007_0P:51300INVBUN_11_0P;F07:51800BLDSYS_2007_0F:53100REVSYP_1_0F:54500REVSYP_2_0F;G07:53400REVITST_3_0F:53700REVSU_3_0F;H07:54300REVIT_9_1F:54100REVITS_9_1F;I07:54400REVITST_4_0F:54200REVSU_4_0F \
SUPERSEDE ISSUED=01-Sep-2006 SIGN=”140B 330F 51E2 F3C7 BDCF \
F34F 4FC6 40C5 1303 82A3 83EA 905B 975D 8E99 BACC 1843 6904 \
C47E 3C16 8806 F386 8BD5 BA5E 283E 1568 D2F0 4CFE 223C DF91 \
1A38″ SIGN2=”0C71 73DD 721F F07E 7202 CBB9 CBAB E834 99F1 2C45 \
2719 3F00 58EF 63E6 B9F1 11C3 687F 4861 70F4 ABE5 B9FF F23A \
53F1 71D7 CD26 E984 145A A86B 62C2 5F6F”
Combined license file for AutoCAD 2006 and AutoCAD 2007:
SERVER servername 0123456789ab
USE_SERVER
VENDOR adskflex port=2080
INCREMENT 48800ACD_2006_0F adskflex 1.000 permanent 5 \
VENDOR_STRING=nfr:permanent BORROW=4320 SUPERSEDE DUP_GROUP=UH \
ISSUED=01-Sep-2006 SN=123-45678900 SIGN=”06DE F4C2 998E ABD3 \
2413 D3A0 77EB 0CCE 203C 7BEA 73A3 25F5 0A8D EA5E E26D 1C18 \
968B BE2E 966D C293 AEF0 97F5 9776 057F 652C 6050 D904 A755 \
5A35 7909″ SIGN2=”1A49 5DFA 4C92 D6DC BD74 7D15 6B3F 730D A342 \
EEBC C63F 1838 FFBC 2CD8 B6E0 0113 0E3D 540F AE73 C8B4 C90C \
BA1F 049D             9464 0477       8D53 06AD 0992 5B16 3A92″
INCREMENT 51200ACD_2007_0F adskflex 1.000 permanent 5 \
VENDOR_STRING=nfr:permanent BORROW=4320 SUPERSEDE DUP_GROUP=UH \
ISSUED=01-Sep-2006 SN=123-45678900 SIGN=”19DA F1B9             2187 1910       \
10DB 61CD 4013 BC85 40EE 6AAC F11C 8AA8 9E49 3833 FBDB 0E68 \
1172 C1FE 704F 611C EAF3 E008 14DC C713 35AB 6D33 7C06 0DE2 \
0A47 BDC2″ SIGN2=”0B1B 3967 DC25 1AA2 3DBA 4F29 E076             4472 9716       \
5A38 9CA2 1A3E 2001 68CC 59D4 05CB 0699 9B5A F358 56B7 5056 \
DE42 7FBB ED04 AF77 CDB4 AC31 4564 88A4 5132″
INCREMENT PLIST adskflex 1.000 permanent 1 \
VENDOR_STRING=A07:51600ACDLAND_2007_0F:52200CIV3D_2007_0F;B07:51900AMECH_PP_2007_0F:51300INVBUN_11_0F:52900INVPRORS_11_0F:53000INVPROSIM_11_0F:51400INVPRO_11_0F;C07:51200ACD_2007_0F:52500REVITS_9_0F:54100REVITS_9_1F:53700REVSU_3_0F:54200REVSU_4_0F;D07:52600REVIT_9_0F:52500REVITS_9_0F;E07:51200ACD_2007_0P:51300INVBUN_11_0P;F07:51800BLDSYS_2007_0F:53100REVSYP_1_0F:54500REVSYP_2_0F;G07:53400REVITST_3_0F:53700REVSU_3_0F;H07:54300REVIT_9_1F:54100REVITS_9_1F;I07:54400REVITST_4_0F:54200REVSU_4_0F \
SUPERSEDE ISSUED=01-Sep-2006 SIGN=”140B 330F 51E2 F3C7 BDCF \
F34F 4FC6 40C5 1303 82A3 83EA 905B 975D 8E99 BACC 1843 6904 \
C47E 3C16 8806 F386 8BD5 BA5E 283E 1568 D2F0 4CFE 223C DF91 \
1A38″ SIGN2=”0C71 73DD 721F F07E 7202 CBB9 CBAB E834 99F1 2C45 \
2719 3F00 58EF 63E6 B9F1 11C3 687F 4861 70F4 ABE5 B9FF F23A \
53F1 71D7 CD26 E984 145A A86B 62C2 5F6F”

Once the license files are combined, click ReRead License File on the LMTOOLS Start/Stop/Reread tab to make the changes effective.  Sometimes it may be necessary to stop and restart the license manager before the new license file will be read.

References:

The information in this paper was gathered from the following Autodesk links:
Without a Net
PLIST Increment Vendor_String
How to combine license files for multiple Autodesk products

Application Note 1007: Configuring FLEXlm FLEXnet Option File Using OpenLM Easy Admin

Application Note 1007: Configuring FLEXlm FLEXnet Option File Using OpenLM Easy Admin

General:

FLEXLM ( FlexNet publisher ) option files grant license administrators close control over various operating parameters within the constraints of the license model. Licensed features can be dedicated, denied or reserved to users or groups of users, according to the option file’s setting.

Employing FlexLM option files, the license administrator can:

1. For concurrent (floating) licenses:

  • Allow the use of features

  • Deny the use of features

  • Reserve licenses

 

Concurrent licenses can be held either in license files or in fulfillment records within trusted storage.

2. For all license types:

  • Restrict the number of licenses available

  • Control the amount of information logged about license usage

  • Enable a report log file

  • Control the automatic rereading of licenses

 

FLEXlm Option files are implemented as text files, located on the license server. Although  this method fits the licensing requirements well, the process of creating and maintaining option files is error-prone and difficult to maintain.

The OpenLM solution incorporates synchronization of License administration tools with the organization’s LDAP (Active Directory), keeping the FLEXlm option file up-to-date as users leave or join the organization, or move between groups.

 

Creating an Option File

1. The Option file should be placed under the same directory as the vendor daemon file, in order to enable FlexLM to read it automatically. Locating the Option file in a different folder is possible, but this requires FlexLM to be configured to search for it in that location.

2. The recommended name for the Option file is vendor.opt, where vendor is the vendor daemon name. Note that the name should not contain white spaces ( e.g.: Arcgis vendor: arcgis.opt,  Adsflex vendor: adsflex.opt ) “Vendor name.opt” is illegal.

FLEXlm option file editing

When configuring the option file using OpenLM, the configuration data is presented to the OpenLM Server, and forward by it to the OpenLM Broker, located on the license server machine. The OpenLM Broker updates the option file.

OPENLM SERVER CONFIGURATION

Check the “Enable OpenLM option file management” box

 

It is necessary to install the OpenLM Broker on the license server machine in order to edit the option file using the OpenLM EasyAdmin web application.

OPENLM BROKER INSTALLATION

  • Information about the OpenLM Broker and its installation process is available in Application Note #1004.

  • The latest OpenLM Broker version  is available for download for version 1.8. If you need a previous version please contact Support@openlm.com.

OPENLM BROKER CONFIGURATION

The next step after creating an option file on the license server machine, is to configure the OpenLM Broker to work with it.

 

1. Open the “OpenLM Broker configuration tool” installed on the license server machine

(“Start” → “Programs” → “OpenLM” → “Broker” → “Broker Configuration Tool”). The Broker Configuration Tool window appears.

 

2. On the Broker Configuration Tool window, Click the (+) button near the License server name in the configuration window.

 

 

3. Click the (+) button near “Vendors” (1).

 

4. Click the “Edit” button.

 

5. Check the “Watch Option File” box (2)

 

6. Type in the path to the Option file previously created. (3)

 

7. Restart the OpenLM Broker.

Editing Option Files

OPTION FILE TARGETS: USERS, USER GROUPS, HOSTS, HOST GROUPS AND IPS

Option Files apply license permission limitations to certain target categories; namely Users, User groups, Hosts, Host groups and IPs. Setting up and introducing these targets is beyond the scope of this article, but a short explanation on each of these target categories is attached at the end:

In order to edit option files, select a specific option file, and then apply changes to it.

OPTION FILE SELECTION

1. Open the OpenLM EasyAdmin web application.

2. Click Start → Opt. File Admin. The “Option File” dialog window appears.

3. Select the specific Option file to be edited (e.g.: Autocad Option File) and click “Set”.

 

GLOBAL SETTINGS OF THE VENDOR DAEMON

On the EasyAdmin web application click Start →  Option Files → Policy.

The “Policy of Option File” window appears.

This window comprises of several text boxes:

GROUPCASEINSENSITIVE (OFF / ON)

ON: User names and host names specified with the Options File GROUP and HOST_GROUP keywords respectively, are treated as case insensitive.

OFF (Default): User names and host names are treated as case sensitive.

NOLOG { IN | OUT | DENIED | QUEUED }

Suppresses logging of the selected type of event in the debug log file.  License administrators may use this option to reduce the size of the debug log file, however it can reduce the usefulness of the debug log when debugging license server problems.

  • IN / OUT: Turns off logging of license check-ins and check-outs respectively.

  • DENIED: Turns off logging of license check-out denials.

  • QUEUED: Turns off logging of queued license requests.

REPORTLOG

Specifies the report log file for this vendor daemon. It is recommended to precede the report_log_path with a ‘+’ character to append logging entries; otherwise the file is overwritten each time the daemon is started.

TIMEOUTALL

Specify the idle timeout for all features, after which an inactive license is reclaimed. The software publisher sets a minimum value. If a smaller value is set – it is ignored, and the publisher’s minimum value is used.

DEBUGLOG

Writes debug log information for this vendor daemon to the specified file.

Note that this affects output from only the vendor daemon associated with this options file. The debug log output of lmadmin or lmgrd and any other vendor daemons in the same license file is not captured in this file.

Click the ‘Save’ button in order to save the edited configuration.

FEATURE SETTINGS

On the EasyAdmin web application window click ‘Start’ →  ‘Option Files’ → ‘Features’.

The “Features of Option File” window opens, according to the option file selected before. This window enables the configuration of each feature separately, applying changes either globally or to specific Users, User groups, Hosts, Host groups and IPs.

1. Select a feature. The ‘Permission’ column is filled

2. Select a user (shown in the screenshot below):

2a. Select the Users tab

2b. Click the ‘Add’ icon. The “Users search” window appears.

2c. Mark users from the “Users search” window, and click the ‘Select’ icon. The selected users are added

3. Select a specific permission, and set its value as explained here:

BORROW_LOWWATER:

Sets the minimal number of BORROW licenses that cannot be borrowed, i.e: the minimal number of licenses that need to remain as Network licenses. For example, if FEATURE has a count of 10, borrowing is enabled in the application, and BORROW_LOWWATER = 7 then only 3 licenses may be borrowed. This option is used for licenses held in license files.

LINGER:

A lingering license stays checked out for a specified period of time beyond its checkin or FlexEnabled application exit, whichever comes first. This configuration enables users to extend the linger time for a feature beyond its check in.

Note:

  • The software publisher sets a minimum linger value. If a value smaller than the minimum is configured, the minimum value is used.

  • The linger time may be configured by the software publisher in the FlexEnabled application. When this is the case, the longer linger time is applied.

MAX_BORROW_HOURS:

Change the maximum borrow period for a specific feature. The new configured period value must be less than that in the license file. This option is used for licenses held in license files.

MAX_OVERDRAFT:

The overdraft policy allows a software publisher to specify a number of additional licenses which users are allowed to use, in addition to the licenses they have purchased. This allows your users to not be denied service when in a “temporary overdraft” state. The MAX_OVERDRAFT parameter Limits the overdraft usage to less than the amount specified in the license file.

TIMEOUT:

Specify the idle timeout for a feature, after which an inactive license is reclaimed. The software publisher sets a minimum value. If a smaller value is set – it is ignored, and the publisher’s minimum value is used.

SETTING PERMISSIONS ON SPECIFIC FEATURES

Some Option permissions may be applied according to the following categories: Users, Groups, Hosts, Host Groups and IPs as shown below.

These configurations include

  • Reserved: Reserve licenses for a User / User group / Host / Host group of users/hosts.

  • Included: Allow a user to use a feature.

  • Excluded: Deny a user access to a feature.

  • Borrow Included: Allow a user to borrow licenses.

  • Borrow Excluded: Deny a user the ability to borrow licenses.

  • Max: Limit usage for a particular feature/group—prioritizes usage among users.

ALLOW OR DENY THE ENTIRE VENDOR’S FEATURE SET

It is possible to Allow or Deny a category of users (user\group\host\host group\IP) the entire set of features that a specific vendor daemon serves. In order to do that:

  1. On the EasyAdmin web application window click ‘Start’ →  ‘Option Files’ → “All Features”.  The “All Features …” window appears.

1. Add a Category of users (User \ Group \ Host \ Host Groups \ IP)

2. Check the “Include All” or “Exclude All” radio button;

  • Include All: Allow a user to use all features served by this vendor daemon.

  • Exclude All: Deny a user access to all features served by this vendor daemon.

3.Click ‘Save’.

SAVING THE OPTION FILE ON THE LICENSE SERVER

Saving the changes made to the Option file back to the License Server is done as follows:

1. On the EasyAdmin web application window click “Start” → “Opt. File Admin.”

2. Select the specific Option File, and click “Set”.

3. Select “Save back to server”.

The Option file update mechanism

  • The OpenLM Server writes this request to a table on OpenLM db and waits.

  • Every 10-15 seconds the OpenLM Server checks that table for any new messages for sending to the OpenLM Broker.

  • If such messages are available, the OpenLM Server sends the option file back to the broker.

  • The OpenLM Broker receives the new option file. It creates a copy of the old option file and replaces it with the new one.

  • After that, the broker issues a re-read command to the license manager. If the re-read was successful, the process is complete.

This procedure refers to user permissions. The same permissions are applicable to Groups( a groups of users ), Hosts, Host Groups (defines a group of hosts) and IPs.

 

Appendix A: Users and Groups

There are two methods of introducing new users and user groups to the OpenLM system. One is through the EasyAdmin web application, and the other is by synchronizing with a company’s Active directory. Both these methods are elaborated below.

SYNCHRONIZING USERS AND USER GROUPS WITH AN ACTIVE DIRECTORY (AD)

The best way to add users and groups is to synchronize them with the AD. OpenLM supports such synchronization:

1. Open “OpenLM Server Configuration” (Start →  Programs → OpenLM →  OpenLM server configuration )

2. Select the “Active Directory” tab.

3. Enter The following information in order to connect to the AD and synchronize users:

3a. Domain name: The Active Directory domain name is the full Domain Name System (DNS) name of the domain.

3b. Active directory user name and password, in the respective fields.

4. From the LDAP Server drop-down menu select “ActiveDirectory”.

5. Check the “Synchronize users” checkbox.

Another method for adding users and groups makes use of the EasyAdmin “Users & Permissions” menu:

INTRODUCING A NEW USER

On The EasyAdmin window, Click Start → Users&permissions → Users. The User details window appears.

Insert the required data, Check the ‘Enabled’ box,  and click the ‘Save’ button.

INTRODUCING A NEW USER GROUP

  • In The EasyAdmin web application, Click “Start” → “Users & Permissions” → “Groups”. The Groups window appears.

  • Click the green “Add Group” icon in order to create a new group. Enter the new group name (e.g.: my_new_group), and click “OK”.

 

  • On the “Groups” window, select the newly created group (e.g.: my_new_group), and click the “Members” icon to add new members to the group. The “Users in my_new_group” window appears.

  • Click the green ‘Add’ button. The “Users search” window appears. Mark and select users from the “Users search” window to add to my_new_group.

Appendix B: Adding an IP

What is an IP?

An Internet Protocol (IP) address is a numerical label assigned to each device (e.g., computer, printer) participating in a computer network that uses the Internet Protocol for communication. An IP address serves two principal functions: Host or Network interface identification and location addressing.

Controlling the license usage of a specific computer is made possible by the “IPs” tab on the “Features of Option File” window. It is also possible to control the license usage of an IP range of computers. For example, typing in the IP:  123.123.123.* causes the feature configurations done in the “Features of Option File” window to be implemented on all user IPs in the range of 123.123.123.0 through 123.123.123.255.


Adding a specific IP:

1. On the EasyAdmin web application window click ‘Start’ →  ‘Option Files’ → ‘IPs’

2. Click The green “Add” button. “Add Ip” window will pop.

3. In the text box enter the Ip address you want to add.

Add a range of IPs

1. On the EasyAdmin web application window click ‘Start’ →  ‘Option Files’ → ‘IPs’

2. Click The green “Add” button. “Add Ip” window will pop.

3. In the text box enter the Ip range you want to add (as explained above).

 

Appendix C: Adding a Host Group

About Host Groups

Custom groups of virtual machine hosts may also be created, for grouping of hosts and their virtual machines in meaningful ways. For example, you may create a host group for every branch office in your organization. You can also use host groups to set aside resources on hosts in the host group for the use of the host operating system.

1. On the EasyAdmin web application window click “Start” →  “Option Files” → “Host Groups”. The “Host Groups” window appears.

2. Click the green ‘+’ sign, and add a group (e.g.: my_host_group1).

3. Select the newly added group, and click the “Members” icon. The “Memebers of my_host_group1” window opens (see image).

4. Select the computers that are required for grouping, and click the green “Select” button. The new Host group is ready for use.

Revision

Revision 1.3 (Revised)

Authors: Mira, Orik, Chen

May 20, 2013.

FLEXnet/FLEXlm: Error [1.5.-124] attempting to return a borrowed license early

Issue

The following error message is displayed when attempting to return a borrowed license from a client workstation:
License Return Error – Your license cannot be returned. For more information, contact your system administrator. Note: you can still use your borrowed license until (midnight): <Date>. Error: [1.5.-124]

Solution

This error usually indicates that the client and/or license manager have changed since the license was originally borrowed. For example, attempting to return a borrowed license early may cause this problem for that very reason. However, the following procedures will often resolve the error.
Method 1 – Wait out the borrow period
Depending on the extent of the time on which your license is borrowed and how urgently it needs to be returned to the network pool, simply waiting out the remainder of the borrow period is a simple and effective solution. After all, the license will be automatically returned at the end of this period. A viable option for Network administrators is implementing an Options file to restrict the maximum borrow period or limit those who can borrow licenses, reducing the impact of future borrowing problems. OpenLM provides full interface to all the license borrowing related options available in FLEXnet.

Method 2 – Reborrow the license and then return it
This method essentially consists of erasing knowledge of the borrowed license from the client machine, borrowing it again, and then attempting to return it. Note: This procedure resets all borrowed licenses for this user/computer.

  1. On the client computer, log in as the user who borrowed the license.
  2. On the Start menu (Windows), click Run (Windows 2000/XP) or StartSearch (Windows Vista).
  3. Enter regedit, and then click OK.
  4. In the Registry Editor, navigate to the following registry key:
    • HKEY_CURRENT_USER\Software\FLEXlm License Manager\Borrow
  5. In the Registry Editor, on the File menu, click Export to create a backup of this key.
  6. Delete this registry key.
  7. Close the Registry Editor.
  8. Borrow the license again for the product(s) and version(s) that you could not return.
  9. Return the license(s) for each product.

Generating custom reports using Excel spreadsheet

OpenLM system provides many built-in reports such as:
Group and Project usage
Usage level reports (report and chart)
License denial reports (supported for FLEXnet FLEXlm license manager)
Active users
And more…

Managers always require more reports and OpenLM provides an easy way to generate custom reports by using OpenLM EasyAdmin ability to export information in a CSV format and to process the information using a spreadsheet software.

The process starts by creating the query that will define which information will be exported out of OpenLM system. EasyAdmin provides a unique and easy to use tool that allows the user to define the exact information needed. The user can filter the query by: server name, vendor name, features, users, groups, projects, time and even working days.

After defining the query the information will be displayed in EasyAdmin, using the export button located below the grid the information can be exported to a CSV file that can be easily imported into the spreadsheet software.

The user can also save the filter created for future use by using the “Funnel” icon.

The reports generated this way are available for any of the supported license managers like: FLEXnet, FLEXlm, IBM LUM, Sentinel RMS, SafeNet HASP, RLM and more.

Generating a Unique Daily Users Report

The unique daily user report allow companies to know who is consuming the network licenses every day. In order to create this example we have used Autocad network licenses (from Autodesk).

The usage information is exported in CSV format from the EasyAdmin->License Activity TAB.

The action is demonstrated in OpenLM Version 1.7 and Microsoft Excel Version 2010.

1. Using  ‘Easy Admin’ interface: Click Start -> Reports -> License Activity.
The filter on the left can be used in order to create the query for the report. After creating the query and clicking the “Apply” button, click the “Export” button (The small icon with green arrow at the bottom of the grid).  Save the generated CSV file on the disk.

2. Open the CSV file using Microsoft Excel.

3. Make a copy of the “Start Time” column in order to remove the hour component from the field.

4. Select the new column, click on “Data-> Text To Columns”  on the menu of Microsoft Excel, a window will pop:

1. Select “Delimited”’ and click “Next”.

2. Choose the ‘Space’ box and click next

3. Select ‘Text’ and click Finish

5. Three new columns has been created as a result of the process we did (columns which detail the date, the time & the daily time zone – AM/PM ).

We only need the column with the date.

Delete the other two columns and change the name of the column (The dates column)  to ‘Date Usage’

 

6. Select the column ‘Date Usage’ and right click the mouse in order to select the ‘Format Cell’ option from the menu. A window will open –  select ‘Date’ from the ‘Category’ list and click ‘OK’

 

7. Select all columns (CTRL+A) , click on ‘Insert’ ( in  Microsoft Excel menu ) and  on PivotTable.

Select the ‘New Worksheet’ on the ‘Create PivotTable’ window that will pop up and click ‘OK’.

A new worksheet will be created.

 

8. On the right side of the screen you will see all your columns( under ‘PivotTable Field List’ )

Drag first the ‘Date Usage’ field  with the mouse to the ’Row Labels’ box and then drag the ‘User Name’ field  to the ‘Row Labels’ box.

 

The example report shows the unique users that consumed licenses for each day. In the example report some days lists one user, for example 03/04/2011. On the 14/03/2011 we had two unique users.

Generating a Group Usage Report for Projects

The following report lists the total number of license usage hours each group investing for each project. Such a report can be useful for billing purposes or in order to support managerial decisions.

OpenLM provides two built in reports: Project usage report and Group usage report. this custom reports integrates the two reports together.

1. Perform steps 1-7 (listed above in the previous report).

2. On the right side of the screen you will see all your columns’ names ( under ‘PivotTable Field List’ ). Drag the ‘Project’ field to the ’Row Labels’ box and then drag the  ‘Group’ field  to the same box as shown in the following image.

3. Drag the ‘Count Of Usage Time’ field into the ‘Values’ box. The result will be generated automatically:

We can see that the GISteam group used 31 hours of Autocad network licensed software for the “City Plan” project and the “GISSpecial” only used 1 hour for the “Environment” project.

 

Generating a Feature (licensed software) Usage Report for Projects

The following report lists the products (licensed software, features in FLEXlm) used on each project. Such a report can be useful for billing purposes or in order to support managerial decisions.

1.Perform steps 1-7 (listed above).

2. On the right side of the screen you will see all your columns’ names ( under the ‘PivotTable Field List’ ),drag  the ‘project’ field  to the ’Row Labels’ box and then drag the ‘Product’ field to the same box as shown in the following image.

In this example we have used information from an ESRI ArcGIS license manager. In the report we can see the list of features used for the “City Plan” project. We can se the use of base licenses such as ArcView and ArcInfo or extensions such as 3DAnalyst network license.

Generating a Feature Usage Chart

The following chart shows the total number of users that used specific license (feature).

1. Perform steps 1-6 (listed above).

2. Select all columns (CTRL+A) , click on ‘Insert’ (Microsoft Excel menu) and choose the ‘PivotChart’ option from the ‘PivotTable’ menu as shown in the following image.

3. Select ‘New Worksheet’ on the ‘Create PivotTable with PivotChart ’ window that will pop and click ‘OK’. A new work sheet will be created.

4.  On the right side of the screen you will see all your columns (under the ‘PivotTable Field List’). Drag the ‘Product’ field to the ‘Legend Fields’ box and then drag the ‘User Name’ field to the ‘Values’ box.
This  automatically will generate a chart of the number of users that used each license, As shown in the following image.

Summary

This article explains how to generate custom reports and charts by using OpenLM export functionality and a spreadsheet software. OpenLM system allows the user to generate a query and to export the information to a CSV file that can be further processed by the spreadsheet software.
The article demonstrated the creation of sevelral reports such as: Unique Daily Users Report, Group Usage Report for Projects, Feature (licensed software) Usage Report for Projects and Feature Usage Chart.

 

Problem/Error with AutoCAD network license management: “A valid license could not be obtained by the network license manager”

Details:

You can face above problem frequently on AutoCAD 2007 based products when you are working in an organization where:

  • Concurrent licensing scheme is implemented through server/client networking mode.
  • Network bandwidth is low.
  • Network latency is high or connected through VPN.

All of the products based on AutoCAD 2007 contain licensing enhancements which tend to increase network latency and bandwidth utilization of the network. Therefore, you can face this problem while trying to claim the license of the program from the License Manager Server. Earlier versions of AutoCAD products i.e. older than 2007 release were not observing this problem. In this problem, first you are presented with a FLEXlm license finder dialogue box during license obtaining process followed by a message stating:

“A valid license could not be obtained by the network license manager.

Error [1.5. -15]”

In some other products you can receive a bit different message as given below:

“A valid license could not be obtained by the network license manager.

Error [1.5. -18]”

Reasons for Error:

A network throughput or data rate of the link is the main reason for this error especially in case of heavy applications like AutoCAD 2007. Reasons can be summarized as below:

  • Low Bandwidth of the connection i.e. Dial-up connection or low speed ISDN/DSL connection.
  • High Network Latency i.e. VPN
  • Response waiting time of the application/program

One or more of the above reasons can be the root cause of this problem. This problem has recommended solutions which given below.

Solutions:

  • Recommended solution for this problem is either increase in the bandwidth of the connection or decrease in the network latency or enhancement in both parameters.
  • By modification of the response waiting time counter/value which is used as the last resort for the solution of this problem. This is a stepwise procedure to modify the response waiting time counter. Here is the stepwise procedure for the same:
  1. Right click My Computer and choose properties.
  2. On system property dialogue box choose advanced tab.
  3. Click on the environment Variables
  4. On environment variable dialogue box choose system variables field and hit the new button
  5. A new system variable dialogue box with two fields appears; put “FLEXLM_TIMEOUT” in variable name and put 1000000 in variable value field.
  6. Click OK on all three dialogue boxes to close them
  7. Launch the AutoCAD application

 

 

 

 

 

 

 

 

If the problem persists, increase the variable value in multiples of 1000000 micro seconds and reach to the value which gives you satisfactory communication results.

ArcGIS Software Bug/Problem: “The ArcGIS Desktop Administrator does not connect to ArcGIS License Manager 9.3 while it is connected through VPN or network speeds are slow”

Details:

You must not panic when you see above mentioned issue during the process of ArcGIS license-claiming from ArcGIS License Manager 9.3. This is a software bug mostly observed in all level of ArcGIS software ver9.3; earlier releases of this software did not observe this problem but following mentioned all levels observed this issue.

  • ArcGISArcEditor 9.3
  • ArcGIS – ArcInfo 9.3
  • ArcGIS – ArcView 9.3 & 9.3.1
  • ArcInfo Workstation 9.3

All of the above software modules observe this problem while operating on following Windows Operating systems.

  • Windows 2000
  • Windows XP
  • Windows 2003 Server
  • Vista

This bug is identified by the ID ‘NIM037135’ and FlexNet licensing error ID “-15,570” which is shown in the error report/message returned against licensing request to the server. Following error message is returned with related details:



The name of the server and license path may vary as per network configuration. The error numbering scheme will be -15 and followed by 570 after comma; this is ArcGIS error reporting format.

Reasons for error:

This happens mostly in following two conditions when network/concurrent licensing scheme for ArcGIS is implemented.

  • The connection between server and license requesting machine is through VPN.
  • The connection is either Dial-up or a slow ISDN/DSL one.

Solution:

There is a stepwise process to resolve this issue of the software through modification of the environment variables in the Windows operating systems. The network or server client messages take certain time to process and reach at their destinations. Therefore, the waiting time of the program for communication response to reach is set a bit larger to resolve this issue on the windows OS. Stepwise procedure is given below:

  • Right click My Computer and choose properties.
  • On system property dialogue box choose advanced tab.
  • Click on the environment Variables
  • On environment variable dialogue box choose system variables field and hit the new button
  • A new system variable dialogue box with two fields appears; put “FLEXLM_TIMEOUT” in variable name and put 1000000 in variable value field
  • .Click OK on all three dialogue boxes to close them
  • Launch the ArcGIS 9.3 program

If the problem still persists then, repeat above mentioned procedure with an increase the variable value in the multiples of 1000000 micro seconds and reach to the value which gives you satisfactory communication results.