Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


The information on this page refers to License Statistics v6.11 and newer, which redesigned license server management (resulting in removing merge functionality and the importlog directory, and support for using multiple data sources for license servers rather than separate "realtime" and "import" servers). If you are using a version previous to v6.11, see documentation for previous versions.

How can I produce a FlexNet report log for importing usage data into License Statistics?
Anchor
flexnet report log def
flexnet report log def

...

  1. Create an option file. For example:

    Panel

    C:\Program Files\VMware\VMware License Server\Licenses\vmwarelm.opt


  2. Specify the location of the option file in your license file. For example:
     

    Panel

    SERVER this_host ANY 27000
    VENDOR VMWARELM port=27010 "C:\Program Files\VMware\VMware License Server\Licenses\vmwarelm.opt


  3. In the option file, enable report logs. This will produce the log. For example:

    Panel

    REPORTLOG +"C:\Program Files\VMware\VMware License Server\Licenses\vmwarelm.log


  4.  Import the log into License Statistics by placing it in the importlog directory. An example header of a report log is shown below:Enable importing for the license server.  

    Panel

    # FLEXnet Licensing Report Log, 23 September, 2010 (10:01), "VMWARELM" on "virtualcenter" FLEXnet Licensing v10.8.6.0 build 54892 i86_n3


Is it possible to monitor Realtime Denials for a FlexNet license server?
Anchor
realtime denials flexnet
realtime denials flexnet

Right now Currently, monitoring Realtime Denials can be enabled only for LM-X License Manager and , Dassault license server, Altair License Manager, and custom license servers.

If you're working with a FlexNet license server and want to obtain information about users currently unable to check out a license due to too many checkout requests, as a workaround you can import debug logs in order to extract denials data from an imported license server and merge this data with a realtime license server. This way, you will get information about realtime denials in "near real time". (See Merging them. See Importing license server data for more details about how to merge already imported denials into a realtime license server.)information. For a full list of license servers from which License Statistics can gather usage statistics, see Supported license servers.

It is important to note that entire process of importing denials can be automated by writing debug logs of a particular vendor, which needs to be done on the customer's side, to License Statistics/importlog directory and creating an alias for the realtime license server before importing denials. (See Combining realtime and denials data under a single server for more specifics.) This will allow you to monitor actual realtime denials for your FlexNet license server.

After a user stopped using an application, FLEXlm still kept that user's license checked out. How can you reset the license?
Anchor
license still checked out
license still checked out

...

License Statistics handles reservations that aren't included in license usage statistics until they're actively used.

When querying a FLEXlm license server, output that includes reserved licenses looks similar to the following:

Users of adv_assemblies: (Total of 27 licenses issued; Total of 6 licenses in use)

  "adv_assemblies" v21.0, vendor: uglmd
  floating license

2 RESERVATIONs for INTERNET 10.1.*.* (lic_ugs/27000)
2 RESERVATIONs for INTERNET 10.10.*.* (lic_ugs/27000)
2 RESERVATIONs for INTERNET 121.*.*.* (lic_ugs/27000)

...

When running License Statistics, you may see something similar to the following in your FLEXlm debug log:
19:43:34 (MSC) OUT: "PATRAN" user1@address1
19:43:43 (MSC) IN: "PATRAN" user2@address2  (INACTIVE)
19:44:18 (MSC) Checkin failed feature "NASTRAN": root na5 /dev/tty
19:44:18 (MSC)  ""
19:44:18 (MSC) Checkin failed feature "NA_Dynamics": root na5 /dev/tty
19:44:18 (MSC)  ""
19:44:18 (MSC) Checkin failed feature "NA_Nonlinear": root na5 /dev/tty
19:44:18 (MSC)  ""
19:44:18 (MSC) Checkin failed feature "NA_Thermal": root na5 /dev/tty
19:44:18 (MSC)  ""
19:44:18 (MSC) Checkin failed feature "NA_DMAP": root na5 /dev/tty
During operation, License Statistics uses the lmdiag command to poll information from the license daemon. The error is due to bugs between lmdiag and lmgrd + vendor daemon, and not License Statistics itself.
To reproduce this, you can type:
lmdiag -n -c port@host
From our observations, this error does not appear to be harmful. The problem has been reported for FLEXlm versions between 8 and 10. More recent versions no longer seem to have this issue.
To fix the error, try upgrading to the latest version of lmutil and place it in the C:\xflicstat directory.  If this does not fix the problem, talk to your application vendor and get a fixed version of FLEXlm.