v1.3.0: A role for the UPS

A new role shuts the rack down in order when the UPS runs on battery: the nodes after five minutes, the NAS last. No breaking change.

A new role, nut, shuts the rack down in order when the UPS runs on battery: the three nodes after five minutes, the NAS last. Until now a long power cut would have ended with an empty battery and four disks stopping mid-write.

Added

  • nut role: the NAS talks to the UPS over USB and serves its status, the nodes listen.
  • Nodes shut down after five minutes on battery, the NAS when the battery reports low.
  • make check, which runs the playbook with --check --diff against every host.

Changed

  • The common role sets the time zone to Europe/Berlin on every host.

Fixed

  • The nfs role restarted the NFS server on every run, even without a change.
nut_mode: netserver
nut_ups_name: ups
nut_driver: usbhid-ups
nut_shutdown_after: 300

Comments

Buy Logbuch