On 07/13/14 12:38, Mxher wrote: > Le 13/07/2014 18:11, frantisek holop a écrit : >> i am looking for a device that would let me reboot my >> remote server in case it becomes unresponsive. the >> server is hosted at a private company far-far away. >> we are talking about off-the-shelf, "noname" pc >> servers, so i am not looking for anything fancy. >> seeing the console is a plus, but i can live without >> that. and of course it should work with openbsd :] >> any success stories more than welcome. >> >> -f >> > > A KVM/IP could do the trick but in some case, for example kernel panic, > you will be stuck I think. > > Another solution available (if you have two servers near by) could be to > redirect consoles to serial ports > If you have some interest about it: > http://www.openbsd.org/faq/faq7.html#SerCon. > But it will not be useful for kernel's panic either... ... something I have had some luck with was pulling the opto-isolated solid state "relay" off an old modem. These are cool devices, typically taking an input from 3v to 20v, very low current, and a completely isolated bilateral switch across two pins.
I hooked the input of the relay to the serial data output from the monitoring system (experiement to get the polarity right), and the two switch contacts to the hard reset lines of the computer. Send a break out the monitoring serial port and the computer resets. Nifty enough, I found normal typing did NOT cause a reset, so one could actually share the same serial port between the console and the reset, though I never instrumented it to figure out how I was getting lucky, or how lucky I was likely to continue to be. Not Enterprise Grade, but that might be good. :) Nick.