The Options File
The options file allows you to control various operating parameters of FlexLM. They include:
Creating an Options FileTo create an options file:
1. Use the appropriate options to create the options file using any text editor. You can put the options file anywhere; however, we recommend that the option file for our artwork daemon be placed in
/usr/local/flexlm/options/artwork.opt Or for Windows C:\flexlm\options\artwork.opt2. Add the pathname to the options file in the license file. The fourth field on the DAEMON line for the application's vendor daemon. For example,
VENDOR artwork c:\flexlm\artwork.exe C:\flexlm\options\license.opt or DAEMON artwork c:\flexlm\artwork.exe C:\flexlm\options\license.opt
Customizing the Options FileHere is an overview of the options available.
Example Options FileHere is an example options file. The file is called license.opt and it is located in the C:\flexlm\options folder.
RESERVE 1 ACS352O USER asmsc52 RESERVE 1 ACSIO35 USER asmsc52 RESERVE 1 ACS58IO USER asmsc52In this example, we reserve licenses to specific user. One license of features ACS352O, ACSIO35,ACS58IO are reserved for user on hostname asmsc52.
EXCLUDEEXCLUDE featurename type name
Excludes a user, host, display, or group from the list of who is allowed to use the feature. Excluded users will not be allowed to use the feature.
EXCLUDEALLEXCLUDEALL type name
Excludes a user, host, display, or group from the list of who is allowed to use all features served by this vendor daemon.
GROUPGROUP groupname usernamelist
Defines a group of users for use in INCLUDE, INCLUDEALL, EXCLUDE, EXCLUDEALL, and RESERVE option lines.
HOST_GROUPHOST_GROUP groupname hostnamelist
Defines a group of hosts for use in INCLUDE, INCLUDEALL, EXCLUDE, EXCLUDEALL, and RESERVE option lines.
INCLUDEINCLUDE featurename type name
Includes a user, host, display, or group in the list of who is allowed to use the feature. Anyone not in an INCLUDE statement will not be allowed to use that feature.
INCLUDEALLINCLUDEALL type name
Includes a user, host, display, or group in the list of who is allowed to use all features served by this vendor daemon.
LINGERLINGER featurename interval
This causes the daemon to `hold on' to the license for featurename for interval seconds after the application checks the license in or exits. This could be useful for short-duration programs which will be used many times in a row by the same user, to ensure that the user will be able to re-acquire the license repeatedly. This is only useful if the application uses duplicate grouping. Otherwise, LINGER will cause you to use extra licenses.
MAX_OVERDRAFTMAX_OVERDRAFT featurename numlic
Limits usage below the OVERDRAFT allowed by the license file.
Turns off logging of specific events by the FLEXlm daemons.
REPORTLOG specifies the file which will contain the report-writer log for this vendor daemon. If filename begins with a '+' character, the file will be opened for append, otherwise the file will be overwritten each time the daemon is started.
RESERVERESERVE numlic featurename type name
Reserves licenses for a specific user.
TIMEOUTTIMEOUT featurename seconds.
Sets the time after which an inactive license is reclaimed by the vendor daemon.