Why don't you go to VM settings and define that vm01 can run only on host_x?
If the host is down, it won't start on host_y.

Best Regards,
Strahil Nikolov
Sent from Yahoo Mail on Android

On Sat, Jan 30, 2021 at 23:09, LS CHENG
<lsc.oraes@gmail.com> wrote:
Hi

I would like to know how AFFINITY GROUPS works.

I have 2 VM in 2 hosts, each VM runs in a host. Let's call

HOST_X where vm01 runs
HOST_Y where vm02 runs

I have set up an affinity group where it says vm01 relates to HOST_X, vm02 relates to HOST_Y. VM affinity rule is set to negative and HOST affinity rule set to positive. I need both vm01 and vm02 to run in their respective physical host.

I have a problem, when vm01 is stopped and HOST_Y is rebooted vm02 starts in HOST_X, how can I avoid that?

Thank you

Luis Sanchez


_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/C74WDKK2SSFA3JRQ6RERHRINJ4F53CBB/