Changes between Version 10 and Version 11 of telehouse_serial_access


Ignore:
Timestamp:
Sep 30, 2007, 10:06:51 PM (17 years ago)
Author:
Daniel Kahn Gillmor
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • telehouse_serial_access

    v10 v11  
    11== How do I connect to a Telehouse server via the serial port? ==
    22
    3 At Telehouse, we have installed an [http://www.lavalink.com/index.php?id=232 Octopus 550] in sylvia, a domU that is installed on Octavia. An Octopus 550 is a pci card that has 8 serial lines coming out of it. Octavia already has two built-in serial lines. Octavia's first built-in serial line is outputting a getty for Octavia itself. The second built-in serial line is going to shadow. The remaining 8 serial lines are connected to other servers in our rack.
     3At Telehouse, we have installed an [http://www.lavalink.com/index.php?id=232 Octopus 550] in `sylvia`, a domU that is installed on Octavia. An Octopus 550 is a pci card that has 8 serial lines coming out of it. Octavia already has two built-in serial lines. Octavia's first built-in serial line is outputting a getty for Octavia itself. The second built-in serial line is going to shadow. The remaining 8 serial lines are connected to other servers in our rack.
    44
    55 * Out:
    6   * octavia getty (built-in serial console 1, octavia: ttyS0)
     6  * `octavia` getty and kernel console (built-in serial port 1, `octavia`: ttyS0)
    77 * In:
    8   * shadow (built-in serial console 2, sylvia: ttyS0)
    9   * viewsic (octopus 1, sylvia: ttyS1)
    10   * malcolm (octopus 2, sylvia: ttyS2)
    11   * chavez (octopus 3, sylvia: ttyS3)
    12   * gramsci (octopus 4, sylvia: ttyS4)
    13   * sontag (octopus 5, sylvia: ttyS5)
    14   * menchu (octopus 6, sylvia: ttyS6)
    15   * leslie (octopus 7, sylvia: ttyS7)
    16   * evo (octopus 8, sylvia: ttyS8)
     8  * `shadow` (built-in serial port 2, sylvia: ttyS0)
     9  * `viewsic` (octopus 1, `sylvia`: ttyS1)
     10  * `malcolm` (octopus 2, `sylvia`: ttyS2)
     11  * `chavez` (octopus 3, `sylvia`: ttyS3)
     12  * `gramsci` (octopus 4, `sylvia`: ttyS4)
     13  * `sontag` (octopus 5, `sylvia`: ttyS5)
     14  * `menchu` (octopus 6, `sylvia`: ttyS6)
     15  * `leslie` (octopus 7, `sylvia`: ttyS7)
     16  * `evo` (octopus 8, `sylvia`: ttyS8)
    1717
    18 In order to connect via serial console to one of the servers named above, ssh into `sylvia` with the appropriate user name based on:
    1918
    20 ''servername''-console
     19The serial consoles of the attached machines are all remotely accessible (to properly-authenticated people), and they are also logged and timestamped.  We are using [http://cmrg.fithhorseman.net/wiki/cereal cereal] to do this cleanly and easily.
     20
     21In order to connect via serial console to one of the servers named above, ssh into `console.mayfirst.org` as ''servername''`-console`
    2122
    2223For example:
    2324
    2425{{{
    25 ssh -t shadow-console@sylvia.mayfirst.org cereal attach shadow
     26ssh -t leslie-console@console.mayfirst.org cereal attach leslie
    2627}}}
    2728
    28 Would give you full read/write access to the console on shadow.
     29Would give you full read/write access to the console on `leslie`.
     30
     31The SSH RSA host key for `console.mayfirst.org` should have a fingerprint of:
     32{{{
     332048 04:18:0f:cc:c9:2e:79:78:2e:91:f0:f2:f4:67:90:f8 console.mayfirst.org,209.51.172.10
     34}}}
    2935
    3036We can also setup additional users that have read-only access to the sessions created by each of these usernames.
    3137
    32 In addition - we have a serial line running from leslie's /dev/ttyUSB0 that goes to Octavia, in case Octavia has problems.
     38In addition - we have a serial line running from `leslie`'s `/dev/ttyUSB0` that goes to `octavia`'s built-in serial port 1, so that `octavia`'s console itself is remotely accessible, and logged.  You can connect to octavia's console with:
     39
     40{{{
     41ssh -t octavia-console@leslie.mayfirst.org cereal attach octavia
     42}}}