Date: Thu, 10 Jan 2008 15:52:12 -0800 From: "Kurt Buff" <kurt.buff@gmail.com> To: "Bob Johnson" <fbsdlists@gmail.com> Cc: Derrick Ryalls <ryallsd@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Nut and RAID on FreeBSD 7.0 Message-ID: <a9f4a3860801101552p1f82abddnce1ba982ea791ba8@mail.gmail.com> In-Reply-To: <54db43990801101514y317a2889l7ad18fa4ffce56be@mail.gmail.com> References: <d5eb95fc0801091651h1788afd1m256a824e4722906d@mail.gmail.com> <6.0.0.22.2.20080110025841.023a9bb8@mail.computinginnovations.com> <d5eb95fc0801101140w717095dfhed569274c261e4a6@mail.gmail.com> <6.0.0.22.2.20080110155430.023d29d8@mail.computinginnovations.com> <d5eb95fc0801101443l6b4cd69do6d69d5b90cd91702@mail.gmail.com> <54db43990801101514y317a2889l7ad18fa4ffce56be@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 10, 2008 3:14 PM, Bob Johnson <fbsdlists@gmail.com> wrote: > On 1/10/08, Derrick Ryalls <ryallsd@gmail.com> wrote: > > > > > Perhaps I need to re-evaluate my line of thinking. Light sometime > > flicker, but power almost never goes out. When it does it is either > > back on in less than 1 minute, or out for hours. If the UPS detects > > critical correctly and gives me at least a minute before death, then > > that should be plenty of time for the system to auto-shutdown. Guess > > I will have to do some experimentation tonight. > > While you experiment, keep in mind the following sequence of events: > > -- Power fails > -- UPS signals low battery > -- System shuts down > -- Power returns before UPS shuts itself down > --> System never reboots, because it never lost power. > > Getting around this is the tricky part. I haven't used NUT in about > seven years, but back then the recommendation was to shut down to > single user mode and run a script that delayed for some time longer > than the remaining battery life of the UPS, then rebooted the system. > There didn't seem to be an easy hook for running a script after > shutting down to single user mode (maybe there is now). > > I haven't looked at NUT recently, but I expect the various flags that > you are supposed to test are another way around this problem. At which point, you either hit the power button manually, or you telnet/ssh/web to your contollable PDU and tell it to remove power from the outlet(s) for 10 seconds. Kurt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a9f4a3860801101552p1f82abddnce1ba982ea791ba8>