how to set up "preferred" Host for a VM

timetraxx

New Member
Feb 3, 2014
7
0
1
Hi All,

I need to configure a "preferred" Host for a VM in HA mode.

It's possible to do that?

scenario:

I have a 3 Node Cluster (HA). On Node 3, I set up a new virtual machine within HA mode. If Node3 goes down then normally the virtual machine will be moved to another Node (1or2), so far so good .
If Node3 are after maintenance or solving of the problem back on the cluster, then the VM must live migrate automatically back to Node3.

hmm, I had a look on the rhel cluster stack as well on the proxmox wiki but found no information.

Have anybody ideas or tipps to do that?


Regards

Martin
 
Hi there -> RTFM :)

found my answer in man rgmanager :)


Failover Domain Configuration:
<rm>
<failoverdomains>
<failoverdomain name="NAME" ordered="[0|1]" restricted="[0|1]" nofailback="[0|1" >
<failoverdomainnode name="node1" priority="[1..100]" />
...
</failoverdomain>
</failoverdomains>
...
</rm>

I'll test this in my lab environment

regards

Martin
 

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!