The following sections describe how to configure elastic licensing in Linux.
If license administrator changes the PIN of the Cloud License Server, client-side users on Linux should perform the following steps:
Have your elastic licensing administrator provide you with a .json file containing your Cloud License Server ID and your Cloud Server License PIN.
Open the Ansys Licensing Settings utility.
Click the Cloud License Server option.
Click Enable Elastic Licensing.
Click Chose File, browse to the directory containing json file supplied by your elastic licensing administrator, select the file and click Open.
An informational message is displayed “You are uploading a file that will change your CLSID and CLS PIN. Do you want to continue?”. Click OK.
Your ansyslmd.ini file is updated, and the ID and PIN are displayed in the Ansys Licensing Licensing Settings utility. You can locate your ansyslmd.ini file in the following directory:
<Ansys Licensing Installation Drive>\Program Files\Ansys Inc\Shared Files\Licensing\ansyslmd.ini
For more information on the changing the Cloud License Server PIN, see the Ansys Elastic Licensing Administrator's Guide and Getting Started with Ansys Elastic Licensing.
When Elastic Licensing is enabled, the Ansys applications will consume the available local licenses (if a local License Manager is configured) before consuming Ansys Elastic Units from the Cloud License Server. If you disable Elastic Licensing, your Ansys applications will continue to use licenses from your local license manager but will not attempt to consume elastic licenses from the Cloud License Server.
Locate and open the ansyslmd.ini file. This file should be found in the following directory:
Windows:
<Ansys Licensing Installation Drive>\Program Files\Ansys Inc\Shared Files\Licensing\ansyslmd.ini
Linux:
/ansys_inc/shared_files/licensing/ ansyslmd.ini
Add the pound symbol (#) in front to the ANSYS_ELASTIC_CLS keyword.
#ANSYS_ELASTIC_CLS=CLSID:PIN
Save your changes to the ansyslmd.ini file.