Shell: Unterschied zwischen den Versionen

Aus Doc-Wiki
Zur Navigation springen Zur Suche springen
imported>Burghardt
imported>Burghardt
Zeile 6: Zeile 6:
   
   
 
== Intention ==
 
* the computer pool is extended by these machines
 
* the computer pool infrastructue is accessible from remote
 
 
 
=== Target audience ===
 
These machines are meant to be used by students. But ''of course'' they can be used by any staff members! For new users the only requirement is to logon one single time using one of the (physical) pool computers - this will make them "known" to our systems.
 
 
=== Legacy login ===
 
Both <tt>login.stud.informatik.uni-goettingen.de</tt> and <tt>login.informatik.uni-goettingen.de</tt> are not affected by these new machines. They will continue to work unmodified.
 
   
 
== Usage ==
 
== Usage ==
Zeile 31: Zeile 20:
 
For Windows: use [[PuTTY]] (simple) or [[Cygwin]] (more complex and powerful) or any other SSH-implementation.
 
For Windows: use [[PuTTY]] (simple) or [[Cygwin]] (more complex and powerful) or any other SSH-implementation.
   
  +
 
=== Target audience ===
 
These machines are meant to be used by students. But ''of course'' they can be used by any staff members! For new users the only requirement is to logon one single time using one of the (physical) pool computers - this will make them "known" to our systems.
  +
 
=== Legacy login ===
 
Both <tt>login.stud.informatik.uni-goettingen.de</tt> and <tt>login.informatik.uni-goettingen.de</tt> are not affected by these new machines. They will continue to work unmodified.
   
 
=== Timeout ===
 
=== Timeout ===
Zeile 38: Zeile 33:
 
Take a look at: http://shell.stud.informatik.uni-goettingen.de/ -- use <tt>ifi</tt>/<tt>ifi</tt> to login <small>("bots not welcome")</small>
 
Take a look at: http://shell.stud.informatik.uni-goettingen.de/ -- use <tt>ifi</tt>/<tt>ifi</tt> to login <small>("bots not welcome")</small>
   
  +
== Some technical Details ==
 
  +
== What to expect ==
* the gateway machine is running HAproxy. This is the only machine with a "real" IP-address.
 
 
Some technical details:
* several <tt>shellX.cip.loc</tt>-machines are placed into the computer pool network. This is required to have exactly the same experience as if being physically in the pool
 
  +
  +
The six currently implemented machines offer
  +
* 6 GiB Ram
  +
* Quad Core CPU
  +
 
* the virtual gateway machine is running HAproxy. This is the only machine with a "real" IP-address.
 
* several <tt>shellX.cip.loc</tt>-machines are placed into the computer pool network. This is required to have exactly the same experience as if being physically present in the pool
 
* all machines are virtual instances on one single host, the host has
 
* all machines are virtual instances on one single host, the host has
 
** 128 GiB ECC Ram
 
** 128 GiB ECC Ram
 
** dual Xeon CPU
 
** dual Xeon CPU
** 600 GB Raid 1 local disk
+
** 600 GB Raid1 local disk
** 10 GBit/s networking :-)
+
** 10 GBit/s networking :-)
  +
   
 
== Tips 'n' Tricks ==
 
== Tips 'n' Tricks ==
   
 
=== Connect to the same machine again ===
 
=== Connect to the same machine again ===
Ignoring the Round-Robin mechanism is possible: connect to a specific port <tt>42000+''n''</tt> withh <tt>''n''={1..6}</tt> :-)
+
Circumventing the Round-Robin mechanism is possible: connect to a specific port <tt>42000+''n''</tt> withh <tt>''n''={1..6}</tt> :-)
   
 
For maschine number 4:
 
For maschine number 4:

Version vom 26. Mai 2016, 14:26 Uhr

Diamond-caution.png Preliminary information! Does not work as intended yet. Will reboot often! Diamond-caution.png


Usage

Simply use SSH to login to this machine:

ssh  user@shell.stud.informatik.uni-goettingen.de

Note that the intially presented banner contains something like

#######  shell.stud.informatik.uni-goettingen.de - login vm: shell5.cip.loc

...telling you the actual local name of the automatically chosen destination machine.


For Windows: use PuTTY (simple) or Cygwin (more complex and powerful) or any other SSH-implementation.


Target audience

These machines are meant to be used by students. But of course they can be used by any staff members! For new users the only requirement is to logon one single time using one of the (physical) pool computers - this will make them "known" to our systems.

Legacy login

Both login.stud.informatik.uni-goettingen.de and login.informatik.uni-goettingen.de are not affected by these new machines. They will continue to work unmodified.

Timeout

The session Timeout is set to 36 hours

Availability

Take a look at: http://shell.stud.informatik.uni-goettingen.de/ -- use ifi/ifi to login ("bots not welcome")


What to expect

Some technical details:

The six currently implemented machines offer

  • 6 GiB Ram
  • Quad Core CPU
  • the virtual gateway machine is running HAproxy. This is the only machine with a "real" IP-address.
  • several shellX.cip.loc-machines are placed into the computer pool network. This is required to have exactly the same experience as if being physically present in the pool
  • all machines are virtual instances on one single host, the host has
    • 128 GiB ECC Ram
    • dual Xeon CPU
    • 600 GB Raid1 local disk
    • 10 GBit/s networking :-)


Tips 'n' Tricks

Connect to the same machine again

Circumventing the Round-Robin mechanism is possible: connect to a specific port 42000+n withh n={1..6} :-)

For maschine number 4:

~$ ssh -p 42004 username@shell.stud.informatik.uni-goettingen.de
#######
#######  shell.stud.informatik.uni-goettingen.de - login vm: shell4.cip.loc

Todo

  • Monitoring
  • Documentation
  • Testing

See also


Links