[Paraview] Automatic reverse connection from cluster to desktop/laptop
Biddiscombe, John A.
biddisco at cscs.ch
Tue Sep 21 03:12:20 EDT 2010
Thanks Pat, I'll store this for future reference. The XT5 has forwarding disabled, but one of the newer machines that we'll be experimenting with has it enabled so I'll try it there when we next do tests.
Note to anyone reading the original post : It has been pointed out to me that my 'Find_IP' scripts are not necessary because (thanks Jean) when you SSH into a remote machine, the shell var $SSH_CLIENT is set to the machine you came from. I wish I'd known that! it'd have saved me working on the windows batch file...
I'll update scripts accordingly on the wiki...
From: pat marion [mailto:pat.marion at kitware.com]
Sent: 20 September 2010 18:20
To: Biddiscombe, John A.
Cc: paraview at paraview.org
Subject: Re: [Paraview] Automatic reverse connection from cluster to desktop/laptop
Attached is a simple socket relay program, pulled from Visit source code. Not sure if this will be useful to you, but it gives you a simple program like so-
Usage ./socket_relay <target host> <target port> <listen port>
You could run this on a service node. It works with ssh reverse tunnels when gateway ports are disabled. Use at your own risk :)
On Mon, Sep 20, 2010 at 11:53 AM, Biddiscombe, John A. <biddisco at cscs.ch<mailto:biddisco at cscs.ch>> wrote:
I recently made some simple scripts which build on the nifty server management XML found on the wiki and allow you to launch jobs remotely, and have them connect back to you - from within the paraview GUI.
Explanation is here
If you make improvements (find ip etc) then please let me know. One thing I'd like to do, is all the above, but also have port forwarding, so you can launch the client locally, but have the compute nodes communicate via a service node and forward stuff back to you. I'm sure it can be done, but since port forwarding is disabled on our cray, I've not tried setting it up.
John Biddiscombe, email:biddisco @ cscs.ch<http://cscs.ch>
CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
Powered by www.kitware.com<http://www.kitware.com>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ParaView