Migration if the node have a power cut

Louis leuliette

New Member
Apr 24, 2024
4
1
3
Hello,

I have a question about HA, I'd like to know if it's possible to migrate VMs to other nodes if the node is stopped by an power cut or if we do a long press the power button.

Currently, if I stop the nodes with the web interface, the VMs are migrated to the other nodes, but if I stop it, the VMs simply shut down and I want to avoid this.
 
You should get a UPS and another power line into your site.

Also putting up some diesel generators is a way better idea than migrating VMs to another site.
 
  • Like
Reactions: Kingneutron
how should a node migrate its VMs away if its power is cut? that is physically impossible. the guests running on a crashed/.. node will be relocated once the rest of the cluster detected that the node is gone, if HA is enabled.
 
  • Like
Reactions: Kingneutron
Thanks for your advice, I've spoken with some serious people who told me to add a qorum and now even if I unplug the power cable from one node the VMs on it migrate to the other.
 
  • Like
Reactions: Kingneutron
the VMs will be relocated and started again on a node that is still part of the quorate partition of the cluster, if that is possible. but they are not live-migrated, since that is impossible.
 
  • Like
Reactions: Kingneutron