License Retrieval of Idle FlexLM Applications – Suspend and Resume – KB4005c
The OpenLM License management tool is designed to identify consumed licenses that are sitting idle and return 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:
License administrators can monitor the OpenLM EasyAdmin web interface, and manually return a license back to the license pool.
OpenLM may automatically detect the idle FlexLM licenses, release them back into the licensing pool and suspend the application’s process. This method is referred to as “Suspend and Resume” and it is described further in this document.
OpenLM can automatically save and close idle MATLAB, Autodesk, ArcGIS and SolidWorks sessions. It performs this with the use of dedicated extensions, specifically implemented by OpenLM for each of these applications. This method is referred to as “Save and Close”.
OpenLM has added a new method for further enhancing idle license identification and retrieval. This is referred to as retrieval through “Agent procedures”.
The basic idle process management method is “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 by the Suspend and Resume method, the administrator needs to follow the steps below. For software suites like ArcGIS that use the same license for multiple applications (e.g. ArcMap, ArcCatalog, ArcGlobe), these steps will have to be repeated with the same idle time values for each application that you want to control.
2. If an Extension Supported application (i.e. ArcGIS, Autocad, Matlab, SolidWorks) has been identified as installed on the computer, the OpenLM Extensions window will open with its selected checkbox. You can uncheck a software extension to rule that idle instances of Autocad, Matlab or SolidWorks.
3. At the end of the installation process, the Agent Configuration dialog window opens. Type in the OpenLM server that 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:
a. click the OpenLM Start → Administration. The Administration – Process features window opens:
b. if the required process is not on the Processes list, it will be necessary to add it manually:
- click the Windows Start button;
- select All Programs → OpenLM → Agent → Tool. The Processes table appears:
- find the required process and copy its exact (case-sensitive) name;
- click Add in the Process List frame, on the upper right corner of the Administration – Process features window. The Add process window appears;
- type in the exact process name, the vendor name, as it appears in the license file and a free text description of the process;
For a process that already exists in the process list: select it and click Edit.
6. Verify that the Features of interest are linked to the monitored Process. These features should appear on the lower panel of the Administration – Process features window. If not, then they should be added by either:
a. highlighting a current process and clicking Add on the bottom right corner of the Administration – Process features window. A dialog box appears. Select the required Feature name from there, or
b. by clicking 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 of the License release method. Select Suspension (See “License retrieval policy” below):
8. Check the Enabled and the Enable automatic license release functionality checkboxes.
9. Set the Enable automatic license release functionality parameters, which determine the policy for license retrieval. Once they have a labeled idle:
- start releasing licenses after usage … (Default: 80): Licenses will 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 shown default values should not be changed unless explicitly instructed by the 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 the 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 shown value;
- User usage (Default: 2): the processor utilization for user-mode processes on the workstation.
11. Click Save.
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;
- the 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.