This article describes how to manage your Lumerical licenses using an existing FlexLM license manager, rather than Lumerical's FlexLM license manager. This may be useful when you have multiple products managed by the FlexLM license manager system. Rather than running multiple instances of the license manager for each vendor, a single license manager can be used for all of the licenses.
When managing licenses from other vendors, using 'lmgrd' rather than 'lmadmin' version of the license manager is common. We have the articles below for more information about these different versions of Flexera's license manager.
We have the possible license manager configurations for managing multiple licenses or multiple vendor daemons.
- Separate license server for each FlexLM
- Multiple FlexLMs (1 for each vendor), on 1 license server
- Single license server, 1 FlexLM with multiple license files
- Single license server, 1 FlexLM using 1 combined license file
1. Separate license server for each FlexLM
This is the recommended setup
Running each license manager on a separate computer is the trivial configuration. There is no possibility of conflict since each license manager is on a different machine.
Starting the license managers
Start/Run each FlexNet license manager on each machine.
2. Multiple license managers on one machine
This is a popular configuration. Running all of the license managers on a single server is convenient for system administration. It is also helpful for end-users because they only need to remember the name of a single computer for all of their licensing needs.
This setup uses LMGRD, with a certificate based license, i.e. Floating mac locked license model, that uses a license file.
A separate instance of FlexLM will be running for each vendor daemon and each must use a different communication (TCP) port. License files for each vendor are stored in different locations.
By default, Lumerical's FlexLM uses TCP port 27011 for the license manager and TCP port 42128 for the daemon listening port and the license file should be modified accordingly.
Starting the license managers for each vendor
/path_ABC_flexlm/lmgrd -c /vendor_ABC_license_path -log /path_to_ABC_logs/ABClmgrd.log
/path_COMP_flexlm/lmgrd -c /vendor_COMP_license_path -log /path_to_COMP_logs/COMPlmgrd.log
/path_XYZ_flexlm/lmgrd -c vendor_XYZ_license_path -log /path_to_XYZ_logs/XYZlmgrd.log
3. One machine, one license manager and multiple license files
It is possible to configure a single FlexLM using LMGRD instead of LMADMIN, to manage licenses from multiple vendors using multiple license files.
All license files are stored in the same location and lmgrd is run specifying the folder where the license files are stored, instead of a single license file.
Specify the TCP port to be used for each vendor's license file. Leaving the TCP port blank, lets FlexNet automatically allocate TCP ports for each vendor from 27000 to 27009.
This setup requires Flexera's license manager version 11.13 or higher and the latest version of LUMERICL daemon.
Starting the license manager
lmgrd -c /common_license_directory/ -logs /path_to_logs/common_lmgrd.log
4. One machine, one license manager and one license file
In addition to the configuration described above it is also possible to merge all license files into one (1) single license file.
To combine all license files into (1), the license files must share some common characteristics:
- The SERVER lines must be the same in all the license files. This is the first line in the license file, and this includes the HOSTID, and the MAC Address.
- In order for the license files to be combined, they must have been originally created for the same HOSTID and corresponding MAC address.
- License files using the triad redundant configuration can only be combined with other license files that are also triad redundant.
- License files that are not redundant cannot be combined with redundant license files.
- The FlexNet license manager version should be 11.13 or higher.
If all of these conditions are met, then you can create a license file by copying the license features/INCREMENT of all the licenses.
- Keep the format of the license file.
- Delete any repeating SERVER lines, use different TCP ports for each vendor daemon.
Leaving the TCP port blank, lets FlexNet automatically allocate TCP ports for each vendor from 27000 to 27009.
- Make sure you don't edit the content of the INCREMENT lines of the license or it will invalidate the license.
#Please do not delete this comment line.
SERVER LICSERVER 1234567890AB 27011 # the HOSTID, MACID & license manager port
VENDOR LUMERICL port=42128
VENDOR AUTODESK port=42001 # these are the vendor daemon and listening port
VENDOR MATLAB port=42002
# Do not alter anything after this line.
# Copy INCREMENT lines from other lic files to the end of this file.
INCREMENT FDTD_Solutions_design LUMERICL ...
INCREMENT autodesk AUTODESK ...
Starting the license manager
lmgrd -c /path_to_licensefile/licensefile.lic -log /path_to_logs/lmgrd.log