TWiki
>
TOTEM Web
>
CompDBSoftware
>
CompDBTudasTotemUnifiedDatabaseAccessService
>
CompDBTudasDevelopersGuide
>
CompDBTudasWorkingRemotely
(2012-09-12,
unknown
)
(raw view)
E
dit
A
ttach
P
DF
---+ Working Remotely <h2 id="connecting_to_pctotem_machine">Connecting to PCTotem machine</h2> In order to work remotely on PCTotem, you will need to use SSH client. We will show how to set up connection using most popular Windows ssh tool - <strong>puTTY </strong>and standard Linux <strong>ssh </strong>command. <h3 id="2170757474793c62723e">PuTTY</h3> You can download puTTY [[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html][here]]. Open it and prepare your configuration: 1. First, we will need to specify main connection target. In _Host Name (or IP address)_ field put *lxplus.cern.ch* (you can also specify your login: !login@lxplus.cern.ch) 2. We want to manage some additional services from our local machine so we have to set up port forwarding. From <em>Category </em>tree choose _SSH_ and then _Tunnels_. 3. As an example, we will add SSH tunnel to <strong>pctotem34 </strong>machine, where our Tudas server is deployed. Let's see how it works: for example, to create forwarding for <strong>pctotem34 </strong>on port *2222*, put <strong>pctotem34.cern.ch:22 </strong>in <em>Destination </em>field and *2222* on _Source port_ field and click _Add_ button. 4. You can add remaining forwarding the same way you've just added pctotem34 forwarding. After executing previous step, you should be able to see following entrie in _Forwarded ports_ area: *L2222 pctotem33.cern.ch:22* 5. Now you can go back to _Session_ category and save your configuration. To do that, put your configuration name in _Saved Sessions_ field and click _Save_. 6. Click Open to create connection and log in. 7. Now we would like to log in directly to pctotem34. Keep your connection with lxplus opened and execute another puTTY instance. This time we should only fill _Host Name (or IP address)_ field with *localhost* and change <em>Port </em>value to one you choosed when you were specifying port forwarding (in our example: 2222). Save your configuration and click *Open*. Now you can log in and work on pctotem34 machine. ---+++ *Linux* The method is the same as in !PuTTY tutorial, but on Linux you can use built-in ssh command. Assuming you want to use our configuration parameters, the command will look like this: <pre>ssh login@lxplus.cern.ch -L2222:pctotem34.cern.ch:22</pre> Of course, if you'd like to work on pctotem34 machine, after log in to lxplus, you should create another ssh connection: <pre>ssh -l login -p 2222 localhost </pre> ---++ What else to forward? Apart from pctotem34 SSH connection, you will need additional port forwardings to get access to several other important services. Below we describe complete tunnels configuration we use during developing Tudas: | *Service address* | *Recomended local port* | *Description* | | pctotem34.cern.ch:22 | 2222 | SSH connection to Tudas server host. Remember, that you will also need access to root account on pctotem34 machine to manage Tudas server | | pctotem34.cern.ch:30001 | 30001 | Tudas server application | | pctotem34.cern.ch:80 | 8000 | Tudas HTTP web content, including communication protocol configuration. It is default form of loading Ice configuration in client-side modules. | | dbsrvg3305.cern.ch:10121 | 10333 | Access to Totem Offline Database. It is crucial if you need to manage the database or run server on your local machine | | pctotem31.cern.ch:8080 | 8080 | Totem Hudson continous integration service | | pctotem30.cern.ch:8081 | 8081 | Totem Maven repository |
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r1 - 2012-09-12
-
unknown
Log In
TOTEM
TOTEM
TOTEM home
TOTEM TWiki
TOTEM TWiki
DETECTOR
SOFTWARE
Offline Software
Monitor
TotemDQM
Trigger/DAQ
DCS
ANALYSIS
PHYSICS
DOCUMENTATION
Service links
Changes
Index
Search
About
Rules and conventions
Playground
TWiki help
TWiki formatting rules
Create personal sidebar
Cern Search
TWiki Search
Google Search
TOTEM
All webs
Copyright &© 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use
Discourse
or
Send feedback