4.6. Specifying the License Server and License Files

Ansys products need to be able to locate and communicate with the license server for your Ansys, Inc. products to run correctly. The license server and license files should be specified correctly during the product and license manager installations. Use the Specify the License Server Machine option of the Client ANSLIC_ADMIN utility only if you need to change the settings already specified.

The Specify the License Server Machine option of the ANSLIC_ADMIN utility creates a file named ansyslmd.ini in the licensing directory. The ansyslmd.ini file contains your license server specification.

On Windows server machines, use the Server ANSLIC_ADMIN utility (accessed via Start > Ansys 2024 R2> Ansys, Inc. License Manager> Server ANSLIC_ADMIN Utility) to modify the ansyslmd.ini file. On client machines, use the Client ANSLIC_ADMIN utility (accessed via Start > Ansys 2024 R2>Ansys Licensing Settings > Client ANSLIC_ADMIN Utility 2024 R2). If you have both the server and the client ANSLIC_ADMIN utilities on the same system, use the Client ANSLIC_ADMIN to specify machine-specific (local) settings.

If you want to set your license paths to have a particular license server machine for your use only (not used by others who are running Ansys products on this machine), you can do so by setting the ANSYSLI_SERVERS and/or ANSYSLMD_LICENSE_FILE environment variables. Use the ANSYSLI_SERVERS environment variable to specify the Licensing Interconnect port number. Use the ANSYSLMD_LICENSE_FILE to specify the FlexNet port number.

If the ANSYSLMD_LICENSE_FILE environment variable is set but the ANSYSLI_SERVERS environment variable is not set, the same server machines will be used to specify the Licensing Interconnect but the port number will be replaced by the Licensing Interconnect default port of 2325. When both variables are set, ANSYSLMD_LICENSE_FILE explicitly defines the FlexNet servers while ANSYSLI_SERVERS explicitly defines the Licensing Interconnect servers.