wiki:remotely_turn_on_or_off_server

Version 5 (modified by Jamie McClelland, 11 years ago) (diff)

--

How do I remotely turn on or off a server?

Telehouse

This page is intended for MFPL admins only.

In Telehouse, we have two Baytech RPC devices, each with 8 ports: gabriel (RPC4) and karl (RPC3).

Connecting

Connect to gabriel:

ssh gabriel-console@carson.mayfirst.org
cereal attach gabriel

Connect to karl:

ssh karl-console@console.mayfirst.org
cereal attach karl

Commands

List available power outlets:

status

Get help:

help

XO/Bandcon

In our XO/Bandcon space we have a Baytech RPC-27 zero U device named odetta.

Connecting

ssh -p 3008 odetta-console@b.console.mayfirst.org

Or

ssh sysadmin@b.console.mayfirst.org
connect direct deviceport odetta

Wiring details

Thanks to Riseup for setting up our cables. Here are the details for creating an RJ45 to RJ45 cable that properly connects a Lantronix Serial Console server to the Baytech RPC-27 device.

,----
| this end plugs into the lantronix (where x is no wire):
| x/WBr/WBl/O/x/Bl/WO/x   = 1/2/3/4/5/6/7/8
`----

,----
| and the other end (plugs into the baytech) is the standard 568B:
| WO/O/WG/Bl/WBl/G/WBr/Br = 1/2/3/4/5/6/7/8
`----

,----
| Baytech   ->  SLC
| 1 (DTR)  ->   7 (DSR)
| 2 (GND)  ->   4 (GND)
| 3 (RTS)  ->   x
| 4 (Tx)   ->   6 (Rx)
| 5 (Rx)   ->   3 (Tx)
| 6 (N/C)  ->   x
| 7 (DSR)  ->   2 (DTR)
| 8 (DCD)  ->   x
`----