[Nut-upsuser] NUT configuration with APC CS650 and ESXi host

Charles Lepple clepple at gmail.com
Fri Jan 9 04:25:58 UTC 2015

On Jan 7, 2015, at 6:11 PM, DatGingerCat <dat.ginger.cat at gmail.com> wrote:

> Hello,
> I have decided to upgrade my home server by turning it into an ESXi host and have also added an APC CS650 UPS.
> My plan was to have NUT version 2.6.4 running in a Debian 7.7.0 virtual machine, NUT installed using apt.
> I configured NUT to run as a netserver, installed the ESXi nut .vib, configured the shutdowncmd in the VM to do nothing, so that the ESXi host would close that virtual machine last and only before it would shut down, it would call the poweroff command. I set the offdelay option of the ups to 300s and ondelay option to 600s

René Garcia, the author of the ESXi .vib, is subscribed to this list - perhaps he has some suggestions for other settings there?

We also don't have a lot of information on the APC CS650 specifically. There is a DDL entry for the Back-UPS CS 650IE, which may be similar; however, we don't have much information on whether the various options work as expected:


Does your serial number or firmware version look similar, or completely different?

Also, after you set offdelay, is there a corresponding timer variable in the 'upsc' output? It is possible that the CS650 is using a different HID path for that timer (there are at least three in drivers/apc-hid.c).

> and here comes in my problem, whenever the battery.low condition or the upssched script calls the FSD action, everything will beging to shut down normally, except that the UPS will turn off the load in about 100 seconds (while the ESXi host still needs over a minute to shutdown and the VM has not yet called the poweroff flag).
> I am at a bit of a loss what I could even try here, the only method that seems to signal the ESXi host running the NUT slave service seems to be calling the fsd action, the offdelay settings do nothing, I tried running a shutdown.stop command which didn't do anything either. Any ideas, or is this impossible with this UPS?
> Thank you in advance

Charles Lepple
clepple at gmail

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20150108/06fb6437/attachment.html>

More information about the Nut-upsuser mailing list