node restart and automatically migrate VM's (HA)

you can change that in webgui nowadays (the thread is from 2019).

DataCenter > Options > HA Settings > Shutdown Policy < i have set it to migrate and all my HA VMs migrate to the other node, when i shutdown / restart the node for maintenance.
Is this still functioning as intended in 8.3.5?

I have a three node cluster. If I set the policy to migrate and then tell a node to shut down or reboot, HA enabled VMs on that node are not migrated -- they are shut down and then started on some other node. This is not the expected behavior.
 
Is this still functioning as intended in 8.3.5?

I have a three node cluster. If I set the policy to migrate and then tell a node to shut down or reboot, HA enabled VMs on that node are not migrated -- they are shut down and then started on some other node. This is not the expected behavior.
VM or LXC? LXC can't be live migrated ... Have you tried to manually live migrate the VM to another node (right click > migrate)?
 
i dont have a ha cluster any more to check it, but it would say, that it should work ... maybe check the config file (/etc/pve/datacenter.cfg), if it is really enabled there (ha: shutdown_policy=migrate)
 
i dont have a ha cluster any more to check it, but it would say, that it should work ... maybe check the config file (/etc/pve/datacenter.cfg), if it is really enabled there (ha: shutdown_policy=migrate)
Yep, it's correct on all three nodes. I'll be doing more testing to try to figure this out, thanks for trying to help.
 
Thank you all for this super helpful thread, you are all thoughtful & think stuff through :)

I have 3 nodes, two are AMD Epic, one is older Dell XEON. I wanted the 3rd node to be very different hardware and that has been super useful when a kernel upgrade had some subtle issue with drivers etc. - also some obscure bug is unlikely be present on these 2 generations (different disk controllers, different network adapters etc.)

BUT I always have to shut down a VM to migrate between AMD & Intel (else it just hangs). Shutdown, migrate, start: works every time.

Is there any way to set up HA such that between the two AMD live migration would "just work" but it would stop & restart between AMD & Intel?

I'm really nervous about 3 identical configurations. Currently I always shut down & restart even though live is just fine in the two AMD case.