Revision 4,
984 bytes
checked in by ajaworski, 13 years ago
(diff) |
Added modified SAGE sources
|
Rev | Line | |
---|
[4] | 1 | 1. Port Forwarding Support |
---|
| 2 | |
---|
| 3 | When a SAGE application cannot directly access display nodes, |
---|
| 4 | set TCP port forwarding from a gateway node to the display nodes and |
---|
| 5 | configure the application to connect to the display nodes |
---|
| 6 | via the gateway node. |
---|
| 7 | |
---|
| 8 | For example, create a ssh tunnel on the gateway node as follows |
---|
| 9 | |
---|
| 10 | ssh -g -f -L gatewayPort:displayIP:displayPort displayIP -N |
---|
| 11 | |
---|
| 12 | The tile display config has a new line starting by "Forward" |
---|
| 13 | |
---|
| 14 | DisplayNode |
---|
| 15 | IP displayIP:displayPort |
---|
| 16 | Forward gatewayIP:gatewayPort |
---|
| 17 | Monitors 1 (0,0) |
---|
| 18 | |
---|
| 19 | Application config file (atlantis.conf, render.conf, ....) has |
---|
| 20 | a new parameter called "portForwarding" |
---|
| 21 | |
---|
| 22 | If portForwarding = 1, the application tries to connect |
---|
| 23 | to gatewayIP:gatewayPort. |
---|
| 24 | If portForwarding = 0, the application tries to connect |
---|
| 25 | to displayIP:displayPort (normal case). |
---|
| 26 | |
---|
| 27 | * If omit 'displayPort' in the tile config file, 'receiverStreamPort' |
---|
| 28 | in 'fsManager.conf' is used as 'displayPort.' |
---|
| 29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.