Linux Setup Instructions for lmgrd
Information Required to Create the License Server File
To generate a FlexNet server license file, you must gather the following information from the system that will host the license server:
-
Host ID (that is, Ethernet address)
-
Hostname (or IP address)
Caution: Administrator rights (non-root user) are required to install lmadmin.
Use the steps below to collect this information:
- On the system where the FlexNet server will run, open a command shell and navigate to the installation directory:
- To retrieve the Host ID, execute the lmhostid program as follows:
- To retrieve the hostname, use the following command:
- (Optional) To retrieve the IP address:
- Save the output of lmhostid along with the hostname (or IP address). This information is required when creating the server license file.
cd <server_install_dir>/FlexNetLicenseServerTools
./lmutil lmhostid
The output will appear similar to:
lmhostid - Copyright (c) 1989-2013 Flexera Software LLC. All Rights Reserved.
The FlexNet host ID of this machine is "012345678901"
Use only one Host ID from the list.
If the command returns "No such file or directory", install the LSB (Linux Standard Base) libraries as root.
./lmutil lmhostid -hostname
./lmutil lmhostid -internet -v4
Install the FlexNet Server
-
Create the server license file in:
<server_install_dir>/FlexNetLicenseServerTools/passwordServer.dat
-
Enter your server information using the following format:
SERVER <hostName> <hostId> [<portNumber>]
VENDOR <vendor name> [port=<vendor portNumber>]
Example:
SERVER BOD1060 0024e83de91e
VENDOR asglmd
Note: If multiple Ethernet addresses are listed, use the first one.
At this point, we assume the FlexNet files are installed in the default location:
cd <server_install_dir>/FlexNetLicenseServerTools/
Ensure the Vendor Daemon (asglmd or mcslmd) is located in the same directory as lmgrd.
Start the Server
The command to start the server has the following format:
./lmgrd -c <server_license_file> -l [+]<debug_log_path>
Where:
- <server_license_file> is the full path to the server license file.
- <debug_log_path> is the path to the debug log file.
Prepending a "+" to the log filename appends new entries instead of overwriting the file.
Here is the recommended command to use:
./lmgrd -c passwordServer.dat -l +flexnet.log
Note: Whenever you modify the server licenses, rerun the lmgrd command. If the operation fails the first time, wait a few seconds and try again.
Note: You may want the license server to start automatically at system boot. Doing so requires modifying the system's startup scripts.
For instructions on configuring automatic startup under UNIX/Linux, refer to the FlexNet Publisher – License Administration Guide, section – License Server Manager “lmgrd”.
Manage Your Licenses
-
To manage licenses for a Thermo Scientific™ software product, refer to License Administration.
-
To reread the license file and restart the Vendor Daemon, use the following command:
./lmgrd lmreread -c <server_license_file> -vendor <vendor_name (asglmd or mcslmd)>
Note: After making any changes to the license server configuration, you must stop the asglmd or mcslmd process. The vendor daemon will be automatically restarted by lmgrd to apply the changes.
Note: If you experience any issues with your configuration, verify that lmgrd and the vendor daemon have the required permissions to communicate through your system's firewall.