nut-monitor: Require both UPS to be online

Unfortunately, the automatic transfer switch does not seem to work
correctly.  When the standby source is a UPS running on battery, it does
*not* switch sources if the primary fails.  In other words, when the
power is out and both UPS are running on battery, when the first one
dies, it will NOT switch to the second one.  It has no trouble switching
when the second source is mains power, though, which is very strange.

I have tried messing with all the settings including nominal input
voltage, sensitivity, and frequency tolerence, but none seem to have any
effect.

Since it is more important for the machines to shut down safely than it
is to have an extra 10-15 minutes of runtime during an outage, the best
solution for now is to configure the hosts to shut down as soon as the
first UPS battery gets low.  This is largely a waste of the second UPS,
but at least it will help prevent data loss.
frigate-exporter
Dustin 2024-01-25 21:22:04 -06:00
parent 2e77502a2f
commit 7b54bc4400
2 changed files with 1 additions and 2 deletions

View File

@ -7,5 +7,5 @@ nut_monitor:
powervalue: 1
username: '{{ ansible_hostname }}'
password: '{{ nut_monitor_password }}'
nut_monitor_minsupplies: 1
nut_monitor_minsupplies: 2
nut_monitor_shutdowncmd: /sbin/shutdown -h +0

View File

@ -46,7 +46,6 @@ networkd_networks:
samba_interfaces:
- enp5s0
nut_monitor_minsupplies: 2
nut_monitor_password: !vault |
$ANSIBLE_VAULT;1.1;AES256
33336330623563356364343833616665343930643764333863613036303530396232333062326466