DOWNLOAD: https://support.hexagonsafetyinfrastructure.com/infocenter/index?page=licensing_resources#MyTab and click on the License Tools tab.
This document provides basic getting started information on configuring a FLEXlm based license server on a LINUX system. For detailed information on running a UNIX based license server, or on the various command line options available, please refer to the included FLEXlmLicensing.pdf. All operations pertaining to configuring a license service should be performed by a Linux administrator with root authority.
The following components in INGR_LinuxLicensing.tar.gz should be copied to the same directory, for example: /opt/INGRLicenseService. This includes:
• INGRLicenseService.sh – This is an example bash script that demonstrates how to start the service via a script (optional).
• INGRTS – The Intergraph application vendor daemon (required).
• INGRTS_libFNP.so – Required for vendor daemon operation, need to be located with vendor daemon (required).
• lmgrd – FLEXlm license daemon (required).
• lmutil – FLEXlm command line utilities (required).
• Showhostid – command line utility to return the composite id for system used as the license server. The composite id is required when generating concurrent licenses via your LAC (required).
Remember to change the execution bit for each of the files listed above (chmod 755).
Use the Showhostid command to retrieve the composite id for the system that will be running the license service. Use this composite id in conjunction with your LAC to generate the concurrent license file. By default this file is called INGR.lic but may be called something else depending on how it was saved. All the components that make up the licensing service must be in the same directory.
FLEXlm's lmgrd is the license service manager; it handles the initial contact with FLEX enabled applications and then passes the connection on to the INGRTS Intergraph vendor daemon. Start lmgrd from the UNIX command line using the following syntax:
lmgrd -c license_file_list -L [+]debug_log_path
- license_file_list -- is the full path to a single license file (INGR.lic), multiple license files (separated by colons, or the path to a directory containing multiple license files all ending with the .lic extension.
- debug_log_path -- is the full path to the debug log file. Prepending debug_log_path with the + character will append log entries between service starts.
The best practice is to start lmgrd by a user other than root since processes started by root can introduce security risks. If lmgrd must be started by the root user, use the su command to run lmgrd as a non-privileged user:
su username -c "lmgrd -c license_file_list -l debug_log_path"
where username is a non-privileged user. You must ensure that the vendor daemons listed in the license file have execute permissions for username.
An example script is provided to simplify the process. See INGRLicenseService.sh for more information. The syntax for a manual start is:
/opt/INGRLicenseService/INGRLicenseService.sh start – to start the service and
/opt/INGRLicenseService/INGRLicenseService.sh stop – to stop the service
For best results set the license service to start automatically at startup. There are a variety of ways to do this depending on the flavor of LINUX you are using. The simplest way is to edit the /etc/rc.local file and add the following:
Or utilize your own script that does this for you.