This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:licensing [2023/06/22 11:07] ccrosby |
howto:licensing [2025/01/29 09:00] (current) ccrosby [SSH tunneling] |
||
|---|---|---|---|
| Line 49: | Line 49: | ||
| - | === SSH tunneling === | + | ==== SSH tunneling |
| It is possible for compute nodes to communicate with the outside world using ssh-tunnels. | It is possible for compute nodes to communicate with the outside world using ssh-tunnels. | ||
| < | < | ||
| Line 78: | Line 78: | ||
| 196.24.44.6 | 196.24.44.6 | ||
| 196.24.44.129 | 196.24.44.129 | ||
| + | 196.24.44.83 | ||
| + | 154.114.44.7 | ||
| </ | </ | ||
| Line 113: | Line 115: | ||
| * The user must have the ability to run commands on the license server. | * The user must have the ability to run commands on the license server. | ||
| * Command line access to the license server is necessary. | * Command line access to the license server is necessary. | ||
| - | * | + | * Let us assume that the license server is running the license service on port 2345. |
| + | * On the license server command line, create the ssh tunnel: | ||
| + | < | ||
| + | ssh -R *: | ||
| + | </ | ||
| + | * In plain English, this translates as: " | ||
| + | * Do the same for the second (or third) license port. Do not try to do this through login1 or chpclic1 with default Ansys license ports, because the Ansys ports are already being used on these servers. | ||
| + | * You can now access the license by setting the relevant environment variables as such in your job script: | ||
| + | < | ||
| + | export LM_LICENSE_FILE=2345@login1 | ||
| + | </ | ||
| + | * When you take down the license tunnel, kill the tunnel process on the license server. | ||
| + | |||
| + | |||