License retrieval of idle FlexLM applications - Suspend and Resume - AN4005c - OpenLM Software License Management
Israel +972 4 6308447         USA +1 866 806 2068        UK +44 20 8242 6492      JAPAN +81 3 45208991 担当:萩原

License retrieval of idle FlexLM applications – Suspend and Resume – AN4005c

License retrieval

The OpenLM License management tool is designed to identify consumed licenses that are sitting idle, and retrieve them to their license pools, thus improving license utilization and availability throughout the organization. There are a number of methods to obtain such optimization license utilization:

1. Manually

License administrators can monitor the OpenLM EasyAdmin web interface, and manually return a license back to the license pool.

2. Suspend and Resume

OpenLM may automatically detect idle FlexLM licenses, remove them and suspend the application’s process. This method is referred to as “Suspend and Resume”. This method is described in this document.

3. Save and Close

OpenLM can automatically save and close idle MATLAB , Autodesk and ArcGIS sessions. It does so with the use of dedicated extensions, specifically implemented by OpenLM for each of these applications. This method is referred to as “Save and Close”.

4. Agent procedures

OpenLM 3.1 has added a new method for further enhancing idle license identification and retrieval. This is referred to as retrieval through “Agent procedures”.

Suspend and Resume Idle applications

The basic idle process management method is the “Suspend and Resume”. This method detects an idle process, identifies its respective license, releases the license into the common license pool, and “freezes” the application until the license is reclaimed. This method is a global one, intended for all sorts of FlexLM licensed applications.

In order to configure OpenLM to automatically retrieve idle licenses in the Suspend and Resume method, the administrator needs to follow these steps:

1. If not previously done, Install the OpenLM Agent onto the workstation from OpenLM Download. This can be done either manually, or deployed quietly via msiexec or GPO.

2. If an Extension Supported application (i.e. ArcGIS, Autocad, Matlab) has been identified as installed on the computer, the OpenLM Extensions dialog window will open.

Choose not to install the appropriate software extension to rule that idle instances of ArcGIS, Autocad or Matlab will be treated in the “Suspend and Resume” method.

3. Towards the end of the installation process,  the Agent Configuration dialog window opens. Type in the OpenLM server with which the Agent is required to connect, and click Apply.

4. Similar options are available through the deployment flags when installing the Agent silently.

5. Link the application’s process to its respective license:

5a. Click the OpenLM Start → Administration → Process/Features. The Process/Features window opens.

5b. If the required process is not on the Processes’ list, it will need to be added manually:

  • Click the Windows Start button.
  • Select All Programs →  OpenLM → Agent→ Tools →Processes List. The Processes table appears:


  • Find the required process and copy its exact (case-sensitive) name.
  • Click ‘Add’ in the Process List frame, on the top right – hand side of the “Process features” window. The “Add process” window appears.
  • Type in the exact process name, the vendor name, as appears in the license file, and a free text description of the process.

For processes that already exist in the process list, select them and click ‘Edit’.

6. Verify that the Features of interest are linked to the monitored Process. These features should appear in the bottom half of the Process / Features window. If not, then they should be added by either:

6a. Highlight a current process, and click ‘Add’ on the lower-righthand  corner of the “Process features” window. A dialog box appears. Select the required Feature name from there.


6b. Click “Add all vendor’s features”. This will include all the vendor’s recorded Features in the list of monitored features.

7. In the “Edit process” window (or the identical “Add process” window for new processes), click the drop-down menu at the License release method. Select Suspension (See “License retrieval policy” below).

8. Check the ‘Enabled’ and the “Enable License release functionality” checkboxes.

9. Set the  “Enable License release functionality” parameters. These parameters determine the policy for license retrieval, once they have been labeled Idle.

  • Start releasing licenses after usage … (Default: 80): Licenses will only become candidates for retrieval only if more than the defined percentage of licenses have been checked out.
  • Idle time license release threshold (Default: 15 min): Idle licenses will be made available for retrieval if they had been idle for more than the defined period.

10. Expand the ‘Advanced’ panel, and set the system resource threshold parameters. These numbers are thresholds used for determining whether the monitored application is idle. The default values shown should not be changed unless explicitly instructed by OpenLM’s support team. Changing these values inappropriately can harm the OpenLM system’s performance.

  • % Processor time (Default: 2): This is the CPU usage percentage threshold over which the application is considered active. The software will only be closed if its use of the workstation’s processor time is lower than the percentage shown
  • I/O Data operations / sec (Default: 2): Similarly, this is an I/O threshold over which the application is considered active. The software will only be closed if the number of disk operations per second is lower than the value shown.
  • User usage (Default: 2): The processor utilization for user-mode processes on the workstation.

11. Click ‘Save’.

What now?

That’s it. OpenLM is now set to optimize your licensed application through the “Suspend and Resume” method:

  • Idle applications will be suspended on the workstation. An appropriate notification will pop up on the workstation monitor.
  • Users who had been waiting for licenses to become available will be notified, and
  • Application activity may be resumed either via the suspension notification or via the OpenLM Agent interface “Recently closed documents” on the end-user’s workstation. 

For more information on these Agent notifications and capabilities please refer to this document.