[SOLVED] VM/container auto-migrate back to original host after manual migration because of HA groups

Arkive

New Member
Dec 26, 2023
11
0
1
I set up HA groups in my 3-node cluster so everything will filter back to it's intended host following recovery, but now when I manually migrate the VM's to another host so I can perform a host upgrade the VM/container automatically migrates right back to the original host. I have the other hosts in the group(s) as available options with a lower priority so they should still be viable options. Removing the VM/container from the group eliminates the issue. I apologize in advance as I'm sure I'm missing something very elementary.
 
Last edited:
There is a relatively new feature: Maintenance Mode [0]
There is currently no option on GUI for this, so you'll have to use the CLI. You can execute these commands on any node that is part of the cluster.

To enter maintenance mode:
ha-manager crm-command node-maintenance enable NODENAME

To exit maintenance mode:
ha-manager crm-command node-maintenance disable NODENAME

[0] https://pve.proxmox.com/wiki/High_Availability#ha_manager_node_maintenance
 
That's great information, thank you. Shocking that feature doesn't natively exist in the GUI but it looks like it will probably be forthcoming. Will mark as solved.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!