I’ve got a HP EliteDesk 800 G5 with Core i7 CPU and 32 GB RAM. How do you guys handle load shedding situations? I have a mini UPS for the router and ONU, and a 650V one for the mini PC. I don’t think it will give me more than 20 minutes backup. Should I gracefully shutdown after 10-15 minutes when electricity is gone and automatically boot up when electricity is back?
#homelab #selfhosted #selfhosting #linux #proxmox #hpelitedesk #hp #ups
There can be a period after graceful shutdown where the UPS is still running and the server will not restart if mains power comes back on. Not a likely scenario, but for apps you can’t afford to have down it’s something to consider.
Yes.
UPSes are to bridge gaps in short outages, either mains blips or the gap between the mains going out and the generator coming online. Do not rely on them for extended runtime.
Some (most?) UPSs have a way for them to communicate to the PC so that the PC can automatically cleanly shutdown. You should look into that if its available on your UPS.
@CameronDev Unfortuanately, I didn’t think about this before buying the UPS. IT doesn’t support such features. Maybe I could get a device that can report power outage over the network and take actions accordingly.
Bummer. You could get a cheap IoT light bulb/smart plug and ping it in a script, when it times out, start the shutdown. Could be a fun project.
At that point just use home assistant to trigger a shutdown script once a device goes offline for x amount of minutes.
@ml @selfhosted yes, definitely. There’s no other way really :)