Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisione Revisione precedente Prossima revisione | Revisione precedente | ||
vlsi:projects:cms [22/11/2013 11:55] pacher |
vlsi:projects:cms [26/11/2013 00:47] (versione attuale) pacher |
||
---|---|---|---|
Linea 89: | Linea 89: | ||
- | |||
- | |||
- | ====== Available machines ====== | ||
- | |||
- | |||
- | __**Server workstation**__ | ||
- | |||
- | * **elt156xl.to.infn.it** | ||
- | |||
- | |||
- | :!: //**Note**// \\ | ||
- | The hostname elt156xl.to.infn.it is not in the INFN <nowiki>DNS</nowiki>. | ||
- | Add the following line to your local ''/etc/hosts'' in order to ''ssh'' to cms156w7.to.infn.it | ||
- | as elt156xl.to.infn.it: | ||
- | |||
- | <code> | ||
- | 192.84.137.156 elt156xl.to.infn.it elt156xl | ||
- | </code> | ||
- | |||
- | |||
- | |||
- | |||
- | \\ | ||
- | __**Desktop PCs**__ | ||
- | |||
- | 3x **Dell Vostro 270s** dual screen, 3rd generation Intel Core i3-3220, integrated Intel HD Graphics, 500GB, Scientific Linux 6.3 | ||
- | |||
- | |||
- | * **cms164xl.to.infn.it** | ||
- | |||
- | * **cms165xl.to.infn.it** | ||
- | |||
- | * **cms166xl.to.infn.it** | ||
- | |||
- | |||
- | |||
- | Common Ethernet configuration parameters: | ||
- | |||
- | **Netmask:** 255.255.255.0 \\ | ||
- | **Default gateway:** 193.205.65.254 \\ | ||
- | **Primary <nowiki>DNS</nowiki>:** 192.84.137.2 \\ | ||
- | **Secondary <nowiki>DNS</nowiki>:** 192.84.137.1 \\ | ||
- | |||
- | Machine IP addresses: | ||
- | |||
- | 193.205.65.156 [xxx] \\ | ||
- | 193.205.65.164 [A4:1F:72:6B:76:26] \\ | ||
- | 193.205.65.165 [A4:1F:72:6B:75:20] \\ | ||
- | 193.205.65.166 [A4:1F:72:6B:5D:D6] \\ | ||
- | |||
- | |||
- | |||
- | \\ | ||
- | __**CERN machines at 13-2-017**__ | ||
- | |||
- | |||
- | * **cmstkto01.cern.ch** | ||
- | |||
- | * **<del>cmtkto03.cern.ch</del> cmstotk03.cern.ch** | ||
- | |||
- | |||
- | |||
- | |||
- | ====== Instructions for tunnelling ====== | ||
- | |||
- | Follow these instructions to access your CERN computing account on //cmstotk03.cern.ch// | ||
- | or //cmstkto01.cern.ch// machines using an ssh tunnel through the //lxplus.cern.ch// cluster. | ||
- | |||
- | To setup the tunnel, open a terminal and type | ||
- | |||
- | |||
- | <code> | ||
- | ssh -L 7020:cmstotk03.cern.ch:22 username@lxplus.cern.ch [cat -] | ||
- | </code> | ||
- | |||
- | or | ||
- | |||
- | <code> | ||
- | ssh -l username -L 7020:cmstotk03.cern.ch:22 lxplus.cern.ch [cat -] | ||
- | </code> | ||
- | |||
- | \\ | ||
- | Safe choices for the port number are 7020, 7021, etc. | ||
- | If you use the ''cat -'' option the shell will simply hangs and | ||
- | you will not login into the lxplus cluster. A wise thing to do is to create | ||
- | an alias for the command (e.g. ''lxtunnel'') in your home ''.cshrc'' or ''.bashrc'' file: | ||
- | |||
- | <code> | ||
- | alias lxtunnel 'ssh -L 7020:cmstotk03.cern.ch:22 username@lxplus.cern.ch' # csh/tcsh | ||
- | alias lxtunnel='ssh -L 7020:cmstotk03.cern.ch:22 username@lxplus.cern.ch' # sh/bash | ||
- | </code> | ||
- | |||
- | \\ | ||
- | To connect to the machine open a new shell and run the command: | ||
- | |||
- | <code> | ||
- | ssh -p 7020 username@localhost | ||
- | </code> | ||
- | |||
- | \\ | ||
- | Alternatively, //**NX server**// is installed on //cmstotk03.cern.ch// and you | ||
- | can setup a **remote desktop access** through the ssh tunnel using //**NX client**//. | ||
- | [[http://www.nomachine.com/documents/configuration/client-guide.php|Configure a new NX client session]] | ||
- | by setting the **Host** to //localhost// and **Port** to the tunnel port (7020 in the above example). | ||
- | Be aware that the tunnel must already be running prior to connecting the NX session. | ||
- | |||
- | \\ | ||
- | Remote file transfers between the remote machine and your local system can be performed using: | ||
- | |||
- | <code> | ||
- | scp -P 7020 username@localhost:~/path/to/file . | ||
- | </code> | ||
- | |||
- | or | ||
- | |||
- | <code> | ||
- | scp -P 7020 /path/to/local/file username@localhost:~/path/to/destination | ||
- | </code> | ||
- | |||
- | |||
- | See also \\ | ||
- | [[http://www.cs.wcupa.edu/~rkline/linux/ssh-remote.html]] | ||
- | |||
- | \\ | ||
- | :!: //**Note**// \\ | ||
- | The //**NX server**// is installed **only** on //cmstotk03.cern.ch// and is an evaluation version, | ||
- | thus no more than two users can perform a remote desktop access at the same time. | ||