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:11] ccrosby [Alternative procedure for off-site license servers] |
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 115: | Line 117: | ||
| * Let us assume that the license server is running the license service on port 2345. | * 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: | * 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. | ||
| + | |||
| + | |||
| + | |||