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 <[email protected]>
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
> <[email protected]> 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 -- [email protected]
> To unsubscribe send an email to [email protected]
> 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/[email protected]/message/C74WDKK2SSFA3JRQ6RERHRINJ4F53CBB/
>
>
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/FNIPOCY2HTB2M4BR75ZDTBFANRMM7TRC/

Reply via email to