This article explains how to install and configure an LDRA FlexLM license server that provides licenses to client machines across a network.
Before you begin, ensure that you have received:
If you have not received the FlexLM Server Tools package, download it from: http://www.ldraftp.com/licensing/Download.htm
Administrative privileges may be required for some installation and configuration steps.
Extract the FlexLM Server Tools package to a suitable location.
You can install the tools in a different location if required.
Copy the supplied license.dat file to the appropriate directory.
Copy the file into either the FTYPE or LTYPE directory, as specified in the LDRA FlexLM License Delivery email.
Examples:
Copy the file to the FlexLM installation directory.
Example: /home/<user>/flexlm/
A placeholder license.dat file is included with the FlexLM Server Tools package. Replace it with the license file supplied by LDRA.
Run the appropriate startup script for your operating system.
Ensure that the startup script is executed from the correct directory ( FTYPE or LTYPE ) specified in the license delivery email.
Most licenses use the FTYPE directory.
If the server fails to start due to a host ID mismatch:
1. Stop the server.
2. Try starting the server from the other directory (`FTYPE` or `LTYPE`).
3. If the issue persists, contact **[licensing@ldra.com](mailto:licensing@ldra.com)** and include the `ldra.log` file.
Administrative privileges may be required to start or install the service.
Configure automatic startup if you want the license server to start automatically after a system restart.
Choose one of the following methods.
1. Run: Install_LicenseService.bat
2. Verify that the LDRA License Manager service has been created successfully.
Administrative privileges are required.
1. Create a shortcut to Start_LicenseServer.bat.
2. Place it in: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
The server starts automatically when a user logs in.
To start the server automatically during system boot:
1. Create a startup script in /etc/init.d/.
For example: /etc/init.d/ldra_flexlm_startup
2. Configure the script to call Start_LicenseServer.sh using its full path.
3. Make the script executable:
sudo chmod 755 /etc/init.d/ldra_flexlm_startup
4. Register the script to start automatically:
sudo update-rc.d ldra_flexlm_startup defaults
If automatic startup at boot is not required, add the startup script to the end of: ~/.bashrc
Verify that the license server is running successfully before configuring client machines.
Verify that:
Most licenses use the FTYPE directory. If a host ID mismatch occurs, try starting the server from the other directory.