Re: Indicator that a machine's shut down?

From: Moe Trin (ibuprofin_at_painkiller.example.tld)
Date: 03/22/05

  • Next message: Floyd L. Davidson: "Re: Power Supply Cause of Crashes? (Review)"
    Date: Mon, 21 Mar 2005 18:16:14 -0600
    
    

    In article <pan.2005.03.21.11.31.23.445298@remove.this.yahoo.co.uk>,
    Jules wrote:

    >I've got a server here that runs headless. On the rare occasions that I
    >need to shut it down, it'd be nice if there was a way it'd light some sort
    >of indicator when it was safe to turn the machine off (it's not capable of
    >turning itself off).

    Normally what we do on these boxes is just to come in remotely, and run
    a 'shutdown -h +2' which says to shutdown in two minutes. That gives us
    the time to log out, walk to the server, and watch it (and listen to it)
    shut down. About about ten seconds after the drives stop thrashing, it
    should be safe to turn of. You may want to consider adding some sort of
    serial connection to a normally working computer. This gives you not only
    the equivalent of a console, but it also gives you a second way to shut
    down, in the event of the network (or network card) going spherical on you.

    >A quick LED / resistor on one of the parallel port lines, say, which is
    >driven as the last thing that's done when the machine is shutting down.

    That will certainly work.

    >Has anyone done such a thing in the past? It *looks* to be as simple as
    >writing a quick C prog to drive the parallel port (trivial) and sticking
    >a call to it in rc.0 as the last thing that's done before "poweroff" is
    >called.

    If the system has a keyboard attacked, you can also write something that
    toggles one of the keyboard LEDs - the scroll lock indicator is probably
    not needed.

    >Just want to check I'm not missing something, though :-)

    I've always preferred to have a serial console of some kind. The DMZ
    hosts here have this (see the Remote-Serial-Console-HOWTO) through
    cascaded 'A/B/C/D' switches, allowing 16 systems to be monitored and
    controlled with a single dumb terminal.

            Old guy


  • Next message: Floyd L. Davidson: "Re: Power Supply Cause of Crashes? (Review)"

    Relevant Pages

    • Re: Best option (spoilers)
      ... I'm drinking what I can find until I really don't care what I do. ... Keep yourself safe and TRY and believe that things are going to get better - they will, it just doesn't seem like that right now. ... And your kids need you, whatever you may think (and no, this is not supposed to be some sort of guilt trip, it's what's kept me from self-destructing so many times). ... If you don't get one in a while i'll post my email addy here. ...
      (uk.people.support.depression)
    • Re: Top Gear Level Crossing Film
      ... we do know is that a single demonstration of this sort can't prove the ... I don't recall the CEGB saying ... 100% safe and only a fool or a liar will claim otherwise. ...
      (uk.railway)
    • Re: cant save word doc!
      ... Is it safe to assume that you aren't trying to open from or save to some ... sort of removable media when this happens? ... Trashing the Test Drive folder or installing the real thing without a full ... removal can cause this sort of problem as well. ...
      (microsoft.public.mac.office.word)
    • Re: Java Multimedia Playback Control
      ... > picture having a bar representing the time span of the entire clip, ... > with some sort of indicator representing where in that enitre range of ... > indicator to change the current time (which would change the data being ... and also be have some sort of mechanism which could update ...
      (comp.lang.java.gui)
    • Re: More static type fun.
      ... Nothing is "100% safe". ... This are the sort of _claims_ that ... practice with my own work and those I have hired and worked with. ... good (albeit, small sampling, probably skewed sampling, etc) evidence ...
      (comp.lang.lisp)

    Loading