Files
configpolicy/host_vars/vmhost0.pyrocufflink.blue.yml
Dustin C. Hatch 7b54bc4400 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.
2024-01-25 21:22:04 -06:00

57 lines
1.4 KiB
YAML

storage_net_address: fd68:c2d2:500e:3ea3:3c35:bbaf:f9a3:ad9a/64
networkd_networks:
- name: 30-enp5s0
Match:
Name: enp5s0
Network:
Address: 172.30.0.18/26
Gateway: 172.30.0.1
DNS: 172.30.0.1
- name: 35-enp6s0f0
Match:
Name: enp6s0f0
Network:
Description: Storage NIC bonded port 0
Bond: bond1
DHCP: 'no'
LinkLocalAddressing: 'no'
- name: 35-enp6s0f1
Match:
Name: enp6s0f1
Network:
Description: Storage NIC bonded port 0
Bond: bond1
DHCP: 'no'
LinkLocalAddressing: 'no'
- name: 35-enp7s0f0
Match:
Name: enp7s0f0
Network:
Description: VM NIC bonded port 0
Bond: bond0
DHCP: 'no'
LinkLocalAddressing: 'no'
- name: 35-enp7s0f1
Match:
Name: enp7s0f1
Network:
Description: VM NIC bonded port 1
Bond: bond0
DHCP: 'no'
LinkLocalAddressing: 'no'
samba_interfaces:
- enp5s0
nut_monitor_password: !vault |
$ANSIBLE_VAULT;1.1;AES256
33336330623563356364343833616665343930643764333863613036303530396232333062326466
3035366466373630326664613335393661393830613137390a643966663637623332333163653263
65356437323532313664306637353634376430316638326639626462346562326634316237363266
3531323430393763310a346238316432653962336332613239616566666233303831303539353463
33383935633432636334313531316533616231336662653735383661333630663830303264393965
3365393866313665653530343635313762366637303733393434