[ovirt-users] AFFINITY GROUPS
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-le...@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/
Re: [Users] Affinity Groups
Yes; Positive affinity makes sure all group members run on the same host. Negative affinity makes sure all group members run on separate hosts. We do have strong/weak attribute which makes this best effort if you wish to avoid failures. - Original Message - From: Maurice James midnightst...@msn.com To: Gilad Chaplik gchap...@redhat.com Cc: users@ovirt.org Sent: Monday, March 31, 2014 7:38:55 PM Subject: Re: [Users] Affinity Groups Shouldnt the negative affinity group keep the two guests apart? And a positive affinity group keep them together? I just wanted to make sure that I understand it correctly Date: Mon, 31 Mar 2014 12:24:36 -0400 From: gchap...@redhat.com To: midnightst...@msn.com CC: users@ovirt.org; msi...@redhat.com Subject: Re: [Users] Affinity Groups Hi Maurice, We have a bug on it: https://bugzilla.redhat.com/1080515 I'm going to fail the creation of an affinity group if it's violating the constraints. will that solve your problem? Thanks, Gilad. - Original Message - From: Maurice James midnightst...@msn.com To: users@ovirt.org Sent: Monday, March 31, 2014 4:52:58 PM Subject: [Users] Affinity Groups I have an affinity group with negative polarity, with enforcing set to hard. The problem I have is that both guest VMs are still on the same host. Arent they supposed to be on different hosts when negative affinity is set? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Affinity Groups
I have an affinity group with negative polarity, with enforcing set to hard. The problem I have is that both guest VMs are still on the same host. Arent they supposed to be on different hosts when negative affinity is set? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Affinity Groups
Hi Maurice, We have a bug on it: https://bugzilla.redhat.com/1080515 I'm going to fail the creation of an affinity group if it's violating the constraints. will that solve your problem? Thanks, Gilad. - Original Message - From: Maurice James midnightst...@msn.com To: users@ovirt.org Sent: Monday, March 31, 2014 4:52:58 PM Subject: [Users] Affinity Groups I have an affinity group with negative polarity, with enforcing set to hard. The problem I have is that both guest VMs are still on the same host. Arent they supposed to be on different hosts when negative affinity is set? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Affinity Groups
Shouldnt the negative affinity group keep the two guests apart? And a positive affinity group keep them together? I just wanted to make sure that I understand it correctly Date: Mon, 31 Mar 2014 12:24:36 -0400 From: gchap...@redhat.com To: midnightst...@msn.com CC: users@ovirt.org; msi...@redhat.com Subject: Re: [Users] Affinity Groups Hi Maurice, We have a bug on it: https://bugzilla.redhat.com/1080515 I'm going to fail the creation of an affinity group if it's violating the constraints. will that solve your problem? Thanks, Gilad. - Original Message - From: Maurice James midnightst...@msn.com To: users@ovirt.org Sent: Monday, March 31, 2014 4:52:58 PM Subject: [Users] Affinity Groups I have an affinity group with negative polarity, with enforcing set to hard. The problem I have is that both guest VMs are still on the same host. Arent they supposed to be on different hosts when negative affinity is set? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Affinity Groups
- Original Message - From: Maurice James midnightst...@msn.com To: Gilad Chaplik gchap...@redhat.com Cc: users@ovirt.org, Martin Sivak msi...@redhat.com Sent: Monday, March 31, 2014 7:38:55 PM Subject: RE: [Users] Affinity Groups Shouldnt the negative affinity group keep the two guests apart? And a positive affinity group keep them together? I just wanted to make sure that I understand it correctly for hard enforcing you are correct. for addition reference see: http://www.ovirt.org/Features/VM-Affinity Date: Mon, 31 Mar 2014 12:24:36 -0400 From: gchap...@redhat.com To: midnightst...@msn.com CC: users@ovirt.org; msi...@redhat.com Subject: Re: [Users] Affinity Groups Hi Maurice, We have a bug on it: https://bugzilla.redhat.com/1080515 I'm going to fail the creation of an affinity group if it's violating the constraints. will that solve your problem? Thanks, Gilad. - Original Message - From: Maurice James midnightst...@msn.com To: users@ovirt.org Sent: Monday, March 31, 2014 4:52:58 PM Subject: [Users] Affinity Groups I have an affinity group with negative polarity, with enforcing set to hard. The problem I have is that both guest VMs are still on the same host. Arent they supposed to be on different hosts when negative affinity is set? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users