[Nut-upsuser] Problems with NUT 2.7.2 on CentOS 7 and using the Mini-Box OpenUPS

Rob Groner rgroner at RTD.com
Fri Mar 13 14:14:15 UTC 2015


> 
> The documentation isn't explicit about this, but 'upsdrvctl shutdown' is
> meant to be run after all of the other processes on the system have been
> killed, real filesystems have been unmounted, and the kernel shutdown
> syscall is about to be called. Usually the init scripts will take care of this,
> although I don't know how CentOS handles that specifically.
> 
> If you want to test the low-battery shutdown procedure (where upsmon
> tells the rest of the system to shut down, then tells the UPS to power off),
> you can run 'upsmon -c fsd' (Forced ShutDown). The init scripts should call
> 'upsdrvctl shutdown' implicitly when everything else has stopped.

I wish it were explicit.  :)

You say to use FSD for testing the system...what do I use for real?   I thought I was supposed to call upsdrvctl shutdown with some delay, and THEN begin shutting down my PC, in the hopes I finish before the delay expires and the UPS shuts off of the power supply.

When you say "the init scripts will take care of this", do you mean that if I execute a system shutdown, it will automatically send the "upsdrvctl shutdown" command at the end?




More information about the Nut-upsuser mailing list