License queuing, which must be enabled by your vendor, helps you implement fair usage when licenses may not be immediately available. This feature is particularly useful for jobs scheduled for automatic execution.
Without queuing enabled, checkout requests are immediately denied if the required license(s) are unavailable. If queuing is enabled, its behavior is determined by the vendor; for example, applications may be placed on hold until the necessary license(s) become available. Contact your vendor for information about how license queuing has been implemented for your licenses. All license requests are appended to the end of the queue by default, regardless whether the request can be fulfilled immediately.
To enable license queuing, set the LM-X environment variable LMX_QUEUE, as described below (see also Environment variables). (Instructions given for accessing environment variable settings are for Windows 7. Please see your OS documentation or your system administrator for instructions on editing environment variables for your specific OS.)
- Open the Windows Control Panel and select System and Security.
- Select System from the System and Security options.
- Select Advanced system settings from the list of options in the left column of the System window.
- From the System Properties dialog that appears, select Environment Variables...
- Under System variables, select New...
- For the Variable name, enter LMX_QUEUE or vendor_QUEUE (where vendor is the name of the software vendor for which to use license queuing) and set the value to 1 (or any positive number) to enable it.
- Click OK to add the variable.
- Click OK from the Environment Variables dialog to save your changes, and then click OK from the System Properties dialog to close it.
Alternatively, you can enable fast queuing, which allows requests to be fulfilled immediately when possible. Fast queuing can allow smaller license requests to be processed more promptly and help ensure higher license utilization. However, because it might enable users to bypass the queue, it does not necessarily implement fairness.
For example, if a client is waiting for two licenses, and only one license is immediately available, another client that needs only one license can bypass the queue and take the single license without waiting.
To enable fast queuing, edit the FAST_QUEUE option in your license server configuration file. You can enable fast queuing for specified features or for all features; for example:
FAST_QUEUE = f1, f3
FAST_QUEUE = ALL