I have an Ellipse USBS connected via serial cable to a CentOS 3 box. Do I need to turn off the UPS as the final stage of shutdown, or will the UPS power itself off, before the battery reaches a level to low to safely recharge from? I notice there is the option for the UPS to turn itself off (and on again) unattended if power is restored during shutdown, but there doesn't seem to be an option to turn it off after a delay if power is restored. My goal is to have the system safely shutdown and restart unattended, as it will be running in an environment where it can't be manually rebooted. TIA Ben
Daniel O'Connor
2006-Aug-12 10:44 UTC
[Nut-upsuser] Will MGE-UPS Ellipse USBS auto shutdown?
On Saturday 12 August 2006 15:05, Ben wrote:> I have an Ellipse USBS connected via serial cable to a CentOS 3 box. > > Do I need to turn off the UPS as the final stage of shutdown, or will > the UPS power itself off, before the battery reaches a level to low to > safely recharge from?You need to set ondelay and offdelay... Note that ondelay is units of 10 seconds whereas offdelay is in seconds. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20060812/19775e11/attachment.pgp
On 8/13/06, Peter Selinger <selinger@mathstat.dal.ca> wrote:> Ben, > > Not all UPS hardward and not all drivers support ondelay/offdelay. In > any case, you should let your system shutdown script kill the UPS, at > the very end, after all the disks have been mounted read-only, and > just before the system is normally halted. This will turn off your > computer safely. -- PeterOk, so if I want to use a UPS for a router, then I need to attach a computer to the UPS as well, to ensure the UPS shuts down at a certain point, otherwise the router will continue to use the battery and the UPS will not deactivate itself before it reaches an unsafe level?
Philippe Marzouk
2006-Aug-13 14:53 UTC
Fwd: [Nut-upsuser] Will MGE-UPS Ellipse USBS auto shutdown?
On Sun, Aug 13, 2006 at 11:20:20PM +1000, Ben wrote:> On 8/13/06, Peter Selinger <selinger@mathstat.dal.ca> wrote: > >Ben, > > > >Not all UPS hardward and not all drivers support ondelay/offdelay. In > >any case, you should let your system shutdown script kill the UPS, at > >the very end, after all the disks have been mounted read-only, and > >just before the system is normally halted. This will turn off your > >computer safely. -- Peter > > Ok, so if I want to use a UPS for a router, then I need to attach a > computer to the UPS as well, to ensure the UPS shuts down at a certain > point, otherwise the router will continue to use the battery and the > UPS will not deactivate itself before it reaches an unsafe level? >MGE UPSes shutdown after 120 seconds when low battery condition is met (when batteries reach 30% by default) and restart automatically after a few seconds when the power comes back even if no computer is attached. The computer connection allows to change the default and to warn the computer of the mains status to allow for safe shutdown. Philippe
Peter Selinger
2006-Aug-13 15:51 UTC
Fwd: [Nut-upsuser] Will MGE-UPS Ellipse USBS auto shutdown?
Ben wrote:> > On 8/13/06, Peter Selinger <selinger@mathstat.dal.ca> wrote: > > Ben, > > > > Not all UPS hardward and not all drivers support ondelay/offdelay. In > > any case, you should let your system shutdown script kill the UPS, at > > the very end, after all the disks have been mounted read-only, and > > just before the system is normally halted. This will turn off your > > computer safely. -- Peter > > Ok, so if I want to use a UPS for a router, then I need to attach a > computer to the UPS as well, to ensure the UPS shuts down at a certain > point, otherwise the router will continue to use the battery and the > UPS will not deactivate itself before it reaches an unsafe level?No, because a router does not have a shutdown procedure. Therefore, there is no "unsafe" way of shutting down a router - you simply unplug it. In other words, just attach the router to a UPS, and do nothing. The UPS will supply power as long as possible, and as soon as possible, and no driver is required. -- Peter