The guideline shown on this page is to configure the Ansys license manager for shared access to the Ansys Lumerical licenses.
Requisites
- Admin or root access on the license server
- Ansys license manager 2021 R1 or newer
Configure license file with static port
If you use a firewall or on a secure network, you will have to add the ports used by the Ansys license manager to your exceptions list. The process shown here is using the default TCP Ports used by the Ansys license manager.
Notes:
If Ansys LM is running, "Stop" the Ansys license manager and edit the "ansyslmd.lic" license file to add a static port for the VENDOR Daemon. See this page for the location of the license file.
- The 'ansyslmd' vendor daemon port is dynamic (random) when you receive your license file.
- To set a static port for the Vendor Daemon, append 'PORT=1056' or any free TCP port in your network to the end of the VENDOR line in the license file,
SERVER hostname/IP hostid_information 1055
VENDOR ansyslmd PORT=1056 - Once the VENDOR port is added to your license file, in our example, add the TCP ports; 1055,1056, and 2325 to your firewall/exception lists to allow access to the license manager.
- If different ports are used for the FlexNet and VENDOR Deamon in the license file, add these ports together with the Licensing Interconnect (2325) port to your firewall/exception list.
- If the license manager port, 1055 is not used/changed to a different port number, the client computer accessing the license should "Specify" the port number in the Lumerical license configuration and not use the "Default" option.
Installing the license file
- Open the Ansys license management center from the "Start Menu > Ansys license manager" in Windows or open the URL, http://localhost:1084/ on your server running the Ansys LM.
- Navigate to "License file options" -> "Add a license file".
- Browse to the location of your license file and add the license file.
- Install the license file and Restart the license manager when prompted.
Adding licenses (without the Ansys License Management Center)
This process is to add the license file into the Ansys license manager without the web interface, Ansys license management center.
Notes
The license files should have the same first 2 lines, the SERVER and VENDOR lines on your license files should be identical.
SERVER ServerHostName ServerHostID 1055
VENDOR ansyslmd
Ensure that the new license file do not contain the same license features in the existing license file. i.e. If the existing license file has the FDTD license, the new license should not have FDTD license. Otherwise, if the new license file contains the same licenses as the existing one, proceed to Step #2 below.
- Rename the new license file (.lic). Do not use "ansyslmd.lic" or the same filename as the existing license file installed in your server.
- Copy the new "license_file.lic" into the "..\license_files\" folder in your Ansys LM installation directory.
- Restart (stop/start) the Ansys LM using the command line:
- Windows:
"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_server" -k stop
"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_server" -k start - Linux:
sudo /ansys_inc/shared_files/licensing/stop_ansysli
sudo /ansys_inc/shared_files/licensing/start_ansysl
- Windows:
- Renewal entitlements typically have the same license feature with the existing one.
- Ask the ASC for your account to log into the Ansys Licensing Portal and activate the entitlement.
- Download and install the new license file that contains both the current and the new entitlements on your license server as shown above.
See also
Ansys License Management Center Overview (video)