A license file contains information required to manage licenses for a FlexEnabled application. This information includes:
- License server names and hostids
- VENDOR names and paths to vendor daemon executables
- Feature information
There are two ways to generate a license file:
- Using FlexNet Operations
- Using the FlexNet Publisher kit
This article explains how to generate a license file using the FlexNet Publisher kit.
The license file must be accessible to systems that run the FlexEnabled application or a license server. For details, see Locating Licenses and Ensuring License Availability.
1.Understand the License File Structure:
- The license file starts with either a single SERVER line or three SERVER lines (for three-server redundancy), followed by one or more VENDOR lines, and then one or more FEATURE or INCREMENT lines.
- In some cases, the license file may not require SERVER or VENDOR lines (for unserved licenses).
- The USE_SERVER line is required when you are hosting the license file using a license server.
- Use the lmcrypt utility to encrypt the license file.
2.SERVER Line Details:
- Specifies the hostname and hostid of the license server, and the TCP/IP port number for the license server manager (lmadmin or lmgrd).
Format:
Example:SERVER <host> <hostid> [port] [PRIMARY_IS_MASTER] [HEARTBEAT_INTERVAL=seconds]SERVER my_server 17007ea8 21987 - You can modify host names, port numbers, and properties like HEARTBEAT_INTERVAL and PRIMARY_IS_MASTER.
3.VENDOR Line Details:
- Specifies the vendor daemon name and (optionally) the path to the daemon executable.
Format:
Example:VENDOR <vendor> [vendor_daemon_path] [OPTIONS=options_file_path] [PORT=port]VENDOR sampled - You can modify the path to the vendor daemon, the options file path, and TCP/IP port numbers.
4.FEATURE and INCREMENT Lines:
- These lines describe the license model for a product.
- Only the first FEATURE line for a given feature name is processed by the vendor daemon; additional licenses for the same feature use INCREMENT lines.
- Basic format:
Example:{FEATURE|INCREMENT} <feature> <vendor> <feat_version> <exp_date> <num_lic> [optional_attributes] SIGN="<...>"FEATURE f1 sampled 1.000 31-dec-2020 10 SIGN="<...>" INCREMENT f1 sampled 1.000 permanent 5 HOSTID=INTERNET=195.186.*.* NOTICE="Licensed to Sample corp" SIGN="<...>"
5.Optional and Required Attributes:
- Required fields for FEATURE/INCREMENT lines include feature name, vendor, version, expiration date, number of licenses, and SIGN.
- Optional attributes (set by the publisher or administrator) can include BORROW, DUP_GROUP, HOSTID, ISSUED, NOTICE, OVERDRAFT, START, TS_OK, USER_BASED, VENDOR_STRING, VM_PLATFORMS, and more.
6.Order of Lines:
- Place FEATURE lines before INCREMENT lines for the same feature.
- Place node-locked, uncounted lines before floating lines for the same FEATURE.
- For sorting, refer to the SORT RULES section in the License Administration Guide.
7.Example License Files:
- Served license file:
SERVER my_server 17007ea8 1700 VENDOR sampled FEATURE f1 sampled 1.000 31-dec-2020 10 SIGN="<...>" FEATURE f2 sampled 1.000 31-dec-2020 10 SIGN="<...>" - Unserved license file:
FEATURE f1 sampled 1.000 31-dec-2020 uncounted HOSTID=INTERNET=195.186.*.* SIGN="<...>"
Related Articles
How to generate a license file for FlexNet Manager for Engineering Applications 2016 R2 or later? 6Number of Views How to generate an NDI file 60Number of Views Tips for improving FlexNet Publisher license file throughput 3Number of Views How To Specify Multiple IP Addresses in FlexNet Publisher License File 9Number of Views Steps to generate the new FNMEA license file 81Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago