From owner-freebsd-questions Thu Apr 4 6:17:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f270.law7.hotmail.com [216.33.236.148]) by hub.freebsd.org (Postfix) with ESMTP id D974737B41A for ; Thu, 4 Apr 2002 06:17:37 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 4 Apr 2002 06:14:24 -0800 Received: from 63.170.174.190 by lw7fd.law7.hotmail.msn.com with HTTP; Thu, 04 Apr 2002 14:14:23 GMT X-Originating-IP: [63.170.174.190] From: "Jon Larssen" To: freebsd-questions@freebsd.org Subject: AC power fail scenarios; HOWTO? Date: Thu, 04 Apr 2002 09:14:23 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 04 Apr 2002 14:14:24.0985 (UTC) FILETIME=[061F2C90:01C1DBE3] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, in a few days I'll hook up my FreeBSD (RELENG_4_5) to a UPS (maybe using nut or something.) Now, I have this question/scenario, which I'd like to validate?: 1. AC power fails 2. The power daemon detects this and signals a shutdown in, say, 15 minutes unless the power is restored. Now come the variable scenarios. Variant A: 3a. Within 15 minutes the power is restored to the UPS. 4a. The power daemon detects this and cancels the shutdown. 5a. Life is good. Variant B: 3b. Power is never restored within 15 minutes. 4b. Shutdown proceeds as planned. 5b. Life is good, but not as before ;) Variant C (and the one that worries me): 3c. Power is never restored within 15 minutes. 4c. Shutdown proceeds as planned. 5c. Before the UPS' battery is depleted, power is restored. 6c. The FreeBSD server will stay in "press any key to reboot" state indefinitely (or until someone lights up and press the key.) I don't really know if the above is correct, but, how do you guys solve/manage/cope with the power problems? Best regards, Jon. _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message