[Nut-upsuser] Shutdown the servers first, keep the network running
Dan Langille
dan at langille.org
Sat Nov 23 02:50:00 GMT 2024
I have an idea for my shutdown process at home. My goal: maximize the network run-time. At present, the UPS has a run-time of about 57 minutes.
This is my idea:
* shutdown the servers after 15 minutes of downtime (for me, that's when battery.runtime hits 40)
* leave the network gear (switches, firewall, wifi) running so I can continue with Internet access
Optionally:
* when we get down to 10 minutes, let everything else shutdown
The goal: I can keep working from my home office - there's a separate UPS up there.
Thinking about the plan:
* the firewall runs nut and monitors the UP
* the servers can take action and shut themselves off - they run run nut
* the firewall will be the only nut instance still running after the services go down
The Eaton 5PX UPS has some configurable items in it. I may be able to use them as well. Looking at my notes[1] from way-back-when, I was unable to get FINALDELAY to be observer (why, is not clear).
I'd be happy to hear suggestion and idea based on your experience please.
I'm running FreeBSD 14.1 and nut 2.8.2
1 - https://dan.langille.org/2020/09/13/nut-testing-shutdown-and-startup/ - I need to redo that timing - none of these servers are still here, and the new ones are not catered for. I hope to be replacing the batteries soon - plenty of opportunity to do that work then.
--
Dan Langille
dan at langille.org
More information about the Nut-upsuser
mailing list