#
Configuring Flexlog Collector Exceptions
FlexNet Manager supports shared licenses. A user can use more than one instance of an application, but it's only counted once. However, in some cases, the debug log will still log both OUT and IN lines for the usage.
For example, the lmstat
shows a single license use,
Users of APP: (Total of 1 licenses available)
"APP" v1.0, vendor: vendord
floating license
user host 127.0.0.1 (v1.0) (server/1700 2107), start Fri 2/18 15:26
but if you look at the debug log
for the same period, you will see two license log in and out instances.
....
15:13:57 (serverd) OUT: "APP" user@host
15:24:49 (serverd) OUT: "APP" user@host
...
16:02:13 (serverd) IN: "APP" user@host
16:37:36 (serverd) IN: "APP" user@host
...
If we process the log file, it will show that the user has two licenses in use, even if lmstat
says 1. In these cases, it's usually because the debug log doesn't "suppress" the shared duplicates.
You can configure the flc_exceptions
file to set a limit for some vendors or features so that a user can, for example, only use single feature licenses on a host.
Open the
flc_exceptions
file in the Configuration directory, which is by default inC:\Program Files\OpeniT\Core\Configuration
. Notice that the file contains the following lines.flc_exceptionsallow-multiples=yes exceptions: psmld rational
The first line,
allow-multiple=yes
, sets the default behavior, allowing the users to use more than one license, except for the users of the vendor and/or feature listed in the exceptions.Add lines to set limits for either a whole vendor
vendor formatvendor=1
or a single feature
feature formatvendor:feature=2
For example, you want to limit the license use of
slbsls
users to 1 andPetrel_1_MAAtPXigP/aUA
users to 2.Example:flc_exceptionsallow-multiples=yes exceptions: psmld rational slbsls=1 slbsls:Petrel_1_MAAtPXigP/aUA=2
Save the changes.
If you modified the file after initial data processing, you need to regenerate data.
Open the
flc_exceptions
file in the Configuration directory, which is by default in/var/opt/openit/etc
. Notice that the file contains the following lines.flc_exceptionsallow-multiples=yes exceptions: psmld rational
The first line,
allow-multiple=yes
, sets the default behavior, allowing the users to use more than one license, except for the users of the vendor and/or feature listed in the exceptions.Add lines to set limits for either a whole vendor
vendor formatvendor=1
or a single feature
feature formatvendor:feature=2
For example, you want to limit the license use of
slbsls
users to 1 andPetrel_1_MAAtPXigP/aUA
users to 2.Example:flc_exceptionsallow-multiples=yes exceptions: psmld rational slbsls=1 slbsls:Petrel_1_MAAtPXigP/aUA=2
Save the changes.
If you modified the file after initial data processing, you need to regenerate data.