wiki:skinny_elephants_recovery

Version 5 (modified by Daniel Kahn Gillmor, 12 years ago) (diff)

fixing what look like dropped chars in the serial output

How do I reboot a server via the console?

If a server fails and you are not able to secure shell to investigate and fix the problem, the first step is to attempt to access the server via it's dom0 (if the server is a domU). Check our server overview page to see if the server in question is a domU and if so which dom0 it belongs to.

If the server in question is a stand alone server or a dom0 then it should be accessible via the serial console. The console should provide information about the crash. You can reboot the server by using the raising skinny elephants trick.

Since the console is provided via [deb:cereal], you need to use special break characters. The exact sequence is:

ctrl-\ b r
ctrl-\ b s
ctrl-\ b e
ctrl-\ b i
ctrl-\ b u
ctrl-\ b b

After each line you should get confirmation on screen that it was run, for example:

SysRq : Keyboard mode set to XLATE
SysRq : Emergency Sync
Emergency Sync complete
SysRq : Terminate All Tasks
SysRq : Kill All Tasks
SysRq : Emergency Remount R/O