Changes between Version 10 and Version 11 of telehouse_serial_access
- Timestamp:
- Sep 30, 2007, 10:06:51 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
telehouse_serial_access
v10 v11 1 1 == How do I connect to a Telehouse server via the serial port? == 2 2 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.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. 4 4 5 5 * Out: 6 * octavia getty (built-in serial console 1, octavia: ttyS0)6 * `octavia` getty and kernel console (built-in serial port 1, `octavia`: ttyS0) 7 7 * In: 8 * shadow (built-in serial console2, 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) 17 17 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:19 18 20 ''servername''-console 19 The 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 21 In order to connect via serial console to one of the servers named above, ssh into `console.mayfirst.org` as ''servername''`-console` 21 22 22 23 For example: 23 24 24 25 {{{ 25 ssh -t shadow-console@sylvia.mayfirst.org cereal attach shadow26 ssh -t leslie-console@console.mayfirst.org cereal attach leslie 26 27 }}} 27 28 28 Would give you full read/write access to the console on shadow. 29 Would give you full read/write access to the console on `leslie`. 30 31 The SSH RSA host key for `console.mayfirst.org` should have a fingerprint of: 32 {{{ 33 2048 04:18:0f:cc:c9:2e:79:78:2e:91:f0:f2:f4:67:90:f8 console.mayfirst.org,209.51.172.10 34 }}} 29 35 30 36 We can also setup additional users that have read-only access to the sessions created by each of these usernames. 31 37 32 In addition - we have a serial line running from leslie's /dev/ttyUSB0 that goes to Octavia, in case Octavia has problems. 38 In 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 {{{ 41 ssh -t octavia-console@leslie.mayfirst.org cereal attach octavia 42 }}}