Proxmox home server : UPS & remote management
UPS shutdown | Proxmox Support Forum
Creative ways to Shut Down a Proxmox host on UPS without USB battery monitoring?
UPS APC to shutdown VMs? | Proxmox Support Forum
Videos
Hi,
I have a Proxmox server (6.3-2) at home running a couple of VMs.
I would like to install a UPS (Uninterruptible Power Supply) able to :
-
Stop properly the Proxmox server when the power goes off
-
Restart the Proxmox server when the power comes back.
I guess, I need a UPS (APC vs EATON vs other ?), and I think (but not sure if it can do what I want) I also need another server (e.g. Raspberry Pi) running NUT (https://networkupstools.org/ ) .
-
Is that correct ?
-
What are your advices to achieve this ?
Many thanks for your help
Howdy folks. I have a situation where I have a Proxmox host I have setup is connected to a UPS, but that UPS for some reason does not have a data interface at all (I guess it was cheap). I was thinking of setting up a crontab command that runs every 5 minutes, and if a smart network switch that is NOT connected to the UPS isn't responding for more than 1 minute, it initiates a shutdown of my Proxmox host (as it would only be unresponsive if power goes out).
Has anyone done something like this? Just wondering what options I have. Would rather not buy extra equipment or replace the UPS if avoidable as it was only just purchased recently. Suggestions appreciated.
Hello,
With Proxmox 9.2 and the new "disarm-ha" and "arm-ha" commands, wondering how to best utilize them (or not) when shutting down all 3 nodes at same time due to low UPS battery. All 3 of my nodes are on same UPS, and yes I know it's not best practice.. but this is my home environment.
I have nut-client configured and working on all 3 nodes using the following in "upsmon.conf"
SHUTDOWNCMD:
"/sbin/pvecm expected 1 && /usr/sbin/ha-manager set --state stopped && sleep 15 && /sbin/shutdown -h now"
Just not sure if this is the right way or if there is a better way to do this with the new commands? I would want HA re-enabled as nodes power back on.
Just want to keep a migration storm from happening when they all shutdown at the same time.
Any feedback & suggestions are appreciated!
And yes, I have proper backups going to my NAS and another location worst case scenario..
Thank you!