An Options file can be used to configure additional settings for the license server.
To create an Options File for your LDRA License Server, follow these steps:
1. Create a file named
LDRA.opt.
2. Place it in the same directory as the license.dat file. If present, the Options file is automatically used.
If you need to use a different file name or location, edit the license.dat file and add options=path/to/file to the VENDOR line:
VENDOR LDRA options=D:\SomePath\ldra.opt
If the license server is already running when implementing or modifying the Options file, perform a re-read to update the license server. Alternatively, the Options file is read when the license server starts.
Comments can be added to the Options file using the hash (#) symbol.
Several option keywords use a type argument to determine who can use a license or where it can be used.
The following types can be used with INCLUDE, INCLUDEALL, EXCLUDE, EXCLUDEALL, MAX, and RESERVE.
Example:
Exclude user joe from feature f1:
EXCLUDE f1 USER joe
To specify multiple users or hosts, first define a group:
GROUP stars joe barbara susan
EXCLUDE f1 GROUP stars
Allows a user, group, host, or host group to access a specific feature.
INCLUDE feature type name
INCLUDE f1 USER Charles
Allows a user, group, host, or host group to access all features and packages in the license.
INCLUDEALL type name
Example
INCLUDEALL USER Charles
Prevents a user, group, host, or host group from using a specific feature.
EXCLUDE feature type name
Example
EXCLUDE f1 USER Charles
Prevents a user, group, host, or host group from using all features in the license.
EXCLUDEALL type name
Example
EXCLUDEALL USER Charles
Defines a group of users.
GROUP group_name user_list
Example
GROUP Testers Charles Sarah James
Controls whether user and host names in GROUP and HOST_GROUP definitions are case-sensitive.
GROUPCASEINSENSITIVE on | off
off
Defines a group of hosts.
HOST_GROUP group_name host_list
Example
HOST_GROUP Testers Test1 Dev1 Build1
Returns inactive licenses to the license pool after the specified time.
This applies only when a license is no longer being used but was not properly returned to the license server.
TIMEOUT feature seconds
Example
TIMEOUT Win_C/C++_TBRUN 900
Applies the same timeout value to all licensed features.
TIMEOUTALL seconds
Limits license usage for a user or group.
When applied to a group, the limit applies to the group as a whole rather than to each individual member.
MAX num_lic feature type name
Example
MAX 5 f1 USER Bob
MAX 4 f1 USER ALL_USERS
Specifies the report log file used by FLEXnet Manager.
REPORTLOG [+]path/to/file
Writes vendor daemon debug information to a separate log file.
DEBUGLOG [+]path/to/file [AUTO_ROLLOVER size]
Example
DEBUGLOG +C:\Flex_logs\LDRA.log AUTO_ROLLOVER 512KB
Suppresses selected events from the debug log.
NOLOG {IN | OUT | DENIED | UNSUPPORTED}Log only unsuccessful license requests:
NOLOG IN
NOLOG OUT
Reserves licenses for a specific user, group, host, or host group. Reserved licenses remain dedicated to the specified entity even when not in use.
RESERVE num_lic feature type name
RESERVE 1 f1 USER robert
RESERVE 1 f1 USER robert
RESERVE 3 f1 HOST mainline
EXCLUDE f1 USER lori
The total number of reserved licenses must not exceed the number available for the feature.
Example
EXCLUDE toothbrush USER bob
EXCLUDE toothbrush USER howard
EXCLUDE toothbrush USER james
Example:
GROUP Hackers bob howard james
EXCLUDE toothbrush GROUP Hackers
Users bob, howard, and james are prevented from using feature toothbrush. Using a group simplifies future administration.
Example
GROUP painters picasso mondrian klee
EXCLUDE spell GROUP painters
EXCLUDE spell USER bob
EXCLUDE spell INTERNET 123.123.123.*
All other users can use the feature.
Example
INCLUDE paint USER picasso
INCLUDE paint USER mondrian
INCLUDE paint HOST bigbrush
All other users are denied access to the feature.