Prevent 2 different VMs from running on the same host

Hi, I have a cluster of 6 hosts using ovirt 4.3 and I want to make sure that 2 VMs are always started on different hosts. Is it possible to prevent 2 different VMs from running on the same physical host without specifying manually a different set of hosts where each VM can start running? Thanks -- Paulo Silva <paulojjs@gmail.com>

Hi, Yes, use affinity groups for this https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3-bet... *The VM Affinity Rule* When you create an affinity group, you select the virtual machines that belong to the group. To define /where these virtual machines can run in relation to each other/, you enable a *VM Affinity Rule*: A positive rule tries to run the virtual machines together on a single host; a negative affinity rule tries to run the virtual machines apart on separate hosts. If the rule cannot be fulfilled, the outcome depends on whether the weight or filter module is enabled. On 4/24/19 12:45 PM, Paulo Silva wrote:
Hi,
I have a cluster of 6 hosts using ovirt 4.3 and I want to make sure that 2 VMs are always started on different hosts. Is it possible to prevent 2 different VMs from running on the same physical host without specifying manually a different set of hosts where each VM can start running?
Thanks -- Paulo Silva <paulojjs@gmail.com <mailto:paulojjs@gmail.com>>
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/KQ4LVNAZMIL6RP...
Met vriendelijke groet, With kind regards, Jorick Astrego Netbulae Virtualization Experts ---------------- Tel: 053 20 30 270 info@netbulae.eu Staalsteden 4-3A KvK 08198180 Fax: 053 20 30 271 www.netbulae.eu 7547 TA Enschede BTW NL821234584B01 ----------------
participants (2)
-
Jorick Astrego
-
Paulo Silva