Question

We have users that are holding on to licenses for too long and need to return the license to the server. I also want to add various parameters to my license such as timing out users. How to do I add these settings to my license?


Solution

Creating an Options file can fulfil many customizable settings such as timing out inactive users, reserving licenses for certain users or even rereading the license after certain amounts of time.

Note: A full list of customizable settings is located in the Flexnet User guide starting at page 147.

 

To create an options file

  1. Create a simple text file in the C:\Cadence\LicenseManager on the license server (Or License Manager install folder if not installed to the default) and name it options.txt.

  2. Stop the license service if started.

  3. Open the License.dat in the license manager folder and specify the options location using the examples below as a guide.

Without options file:

SERVER Duster FLEXID=9-5333971D 5280

DAEMON cdslmd "C:\Cadence\LicenseManager\cdslmd.exe" PORT=3000

# DO NOT REMOVE THE USE_SERVER LINE

USE_SERVER


With options file:

SERVER Duster FLEXID=9-5333971D 5280

DAEMON cdslmd "C:\Cadence\LicenseManager\cdslmd.exe" OPTIONS=C:\Cadence\LicenseManager\options.txt PORT=3000

# DO NOT REMOVE THE USE_SERVER LINE

USE_SERVER

Adding this syntax in the license file will specify an options file to now load.

Once added start your license server after adding your desired options to the file. Again for syntax see the Flenet User article or take a look at one of our other articles walking through the process.

 

To create a timeout setting for an options file

You can create a timeout setting by adding a line to the options file. The steps that follow explain how to timeout all users who are inactive over a certain amount of time.

  1. Open the options file defined in your license.dat file on your license server.

  2. Add the following line:
    TIMEOUTALL = 3600

    The minimum timeout is 60 minutes or 3600 seconds but can go higher. It is not recommended for a timeout longer than 24 hours. Setting this any lower will cause several issues and may result in license manager crashes. This will return any licenses from users who are inactive for 15 minutes or longer if set for longer.