ANSYS Licenses (and STK licenses) are handled by the Ubuntu server. You can access it at [email protected]
.
The server is installed to /usr/local/bin/ansys_inc/shared_files/licensing/
There is a crontab that runs the license server on reboot, installed on spacesys’ crontab: @reboot /usr/local/bin/ansys_inc/shared_files/licensing/start_ansysli
Use /usr/local/bin/ansys_inc/shared_files/licensing/stop_ansysli
to, well, stop the server. Sometimes this doesn’t work perfectly and you need to fuser -k 1055 && fuser -k 2325
The license files are installed to ./license_files
. The current file (July 2023) has both Ansys and STK licenses all-in-one.
Add the new license as ansys.lic
, with ownership spacesys:spacesys
Change the first line of the license file from UTAT-CAD
to spacesys-PowerEdge-R300
.
Restart the license server after changing licenses!
On the CAD machine, the environment variable ANSYSLMD_LICENSE_FILE
is set to [email protected]
so that the CAD programs should pick it up by default.
You can also pick up licenses by pointing your own machine (on the UTAT VPN) to ansys.in.utat.space
, port 1055.
The license file requires a specific MAC address (the one from the old Ethernet adapter on the CAD machine), so I added a additional virtual (disconnected) ethernet port with that MAC address. Yay for lying. We need to change the first line of the license files from UTAT-CAD
to spacesys-PowerEdge-R300
to make this change complete.
The log files are located in the licensing
folder, there’s one for the server iteself and one for the license allocation.