You can select multiple hosts when selecting which host the VM can run on.
Kim
________________________________
From: LS CHENG <lsc.oraes(a)gmail.com>
Sent: Sunday, January 31, 2021 9:51 AM
To: Strahil Nikolov <hunter86_bg(a)yahoo.com>
Cc: users(a)ovirt.org <users(a)ovirt.org>
Subject: [ovirt-users] Re: AFFINITY GROUPS
Hi
Yes, that can be trick as well. I am using affinity rules because I am trying to extend to
more combinations. For examples 4 hosts and a vm can run in 2 hosts only etc.
Thanks
On Sun, Jan 31, 2021 at 9:14 AM Strahil Nikolov
<hunter86_bg@yahoo.com<mailto:hunter86_bg@yahoo.com>> wrote:
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<https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
On Sat, Jan 30, 2021 at 23:09, LS CHENG
<lsc.oraes@gmail.com<mailto: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<mailto:users@ovirt.org>
To unsubscribe send an email to users-leave@ovirt.org<mailto: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/C74WDKK2SSF...