Description
The docs/config-notes.txt file details what happens when an UPS feeding one or more systems loses power, and how upsmon instances "interact" and drive shutdowns and eventual forced power-cycling when the UPS becomes critical.
This description however seems focused on a single-UPS situation.
TODO: Check other docs and code to spell out expected behavior with multiple UPS devices (when not all of them go critical or even on battery -- e.g. fed by redundant feeds) and servers with multiple inputs, so MINPOWERSUPPLIES are satisfied on (some but not all) of the secondary and/or primary systems?
In particular, confirm whether we have an edge-case bug or not: Does the upsmon
primary system power-cycle a "critical" UPS if that is not the only one feeding it, so it is not shutting down now? Or in case that wall power comes back at a wrong time, do we get into the power-race situation so load on that UPS would remain powered-on indefinitely in a shut-down state?