Hi folks,
Background:
I'm running a Proxmox Cluster with 3 nodes at home, where 1 node has OPNsense VM and Omada Controller in LXC:
I don't use any HA stuff and nodes operate independently (except
Issue: When the power is restored VMs on
Potential solutions:
I thought about the following options
I'm also open to different solutions to solving this problem. Power outages are not frequent, but I need to be able to restore connectivity without human intervention.
Thanks so much and thank you for building an amazing product!
Background:
I'm running a Proxmox Cluster with 3 nodes at home, where 1 node has OPNsense VM and Omada Controller in LXC:
pve0(OPNsense + Omada)pve1pve2
pve1 and pve2 when UPS is on a battery for more than 5 minutes. pve0 and my network gear will keep running until UPS battery dies and it will boot up once power is restored. I don't use any HA stuff and nodes operate independently (except
pve0 being a router). I'd prefer to keep them as a cluster as I really like having the ability to move a VM between nodes and having 1 UI to manage all my VMs/LXCs.Issue: When the power is restored VMs on
pve0 won't boot as there is no quorum.Potential solutions:
I thought about the following options
- Set
pve1andpve2nodes in BIOS to boot when the power is restored:pve1has TrueNAS Scale VM with a few HDDs and when the power is restored, it could be restored for only a few seconds/minutes and I'd really like to avoid
- Maybe connect
pve1and pve2 through some smart plugs and havepve0monitor these plugs and only turn the power on if they're on for more than X minutes. Although I'm not sure it is feasible, also it gets a bit complex and adds multiple points of failure (plugs + automation). - Similar to option 2, but set up Wake-On LAN on
pve1andpve2as Raspberry PI or other device power directly via UPS USB port that will only power on these 2 nodes when UPS is on line power and has at least 50% of the battery. Not sure if Wake-On LAN is a good option for Proxmox with TrueNAS Scale VM. - Increase voting power from 1 to 2 for
pve0- Seems like the easiest solution, but I know it's discouraged. I don't fully understand what are the potential bad consequences of this setup in my case.
- If
pve0goes down, I won't be able to start/stop VMs from other nodes, but at this point I will have bigger problems as my router will be down. Worst case, if I need to change something onpve1andpve2whenpve0is down, I could simply disconnectpve1/pve2from the switch, runpvecm expected 1and do whatever I want on the node.
I'm also open to different solutions to solving this problem. Power outages are not frequent, but I need to be able to restore connectivity without human intervention.
Thanks so much and thank you for building an amazing product!