Hello Nar, you can achieve this with 2 affinity rules, a positive and negative one.
In the cluster create the first affinity group VM affinity rule disabled HOST affinity rule positive set enforcing mode. Then add the VMs and 2 Hosts to force them to run on these hosts. In the cluster create the second affinity group VM affinity rule disabled HOST affinity rule negative set enforcing mode. Then add the rest of the VMs and the 2 Hosts to force them not to run on these hosts. https://www.ovirt.org/documentation/vmm-guide/chap-Administrative_Tasks.html Regards, Paul S. ________________________________ From: Nardus Geldenhuys <nard...@gmail.com> Sent: 28 July 2020 11:22 To: email@example.com <firstname.lastname@example.org> Subject: [ovirt-users] affinity/pool/fencing ? Caution External Mail: Do not click any links or open any attachments unless you trust the sender and know that the content is safe. Hi oVirt land Hope you are well. Don't even know what to call this. But let me describe what I want to achieve. We have a cluster with say 100 vm's. But we want two use two hosts in the cluster two run only certain VM's. I think you can do that with affinity rules. But how can I restrict those two hosts to only run the VM's, meaning that no other VM's will run on them. I don't want to go and edit the 100 other VM's to not run on 2 hosts. Is there an easy way for doing this? Oracle VM uses pools, I dont know what vmware uses. Any advice will help. Regards Nar To view the terms under which this email is distributed, please go to:- http://leedsbeckett.ac.uk/disclaimer/email/
_______________________________________________ Users mailing list -- email@example.com 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://firstname.lastname@example.org/message/N3RGAVBZ4DGI2Z24PK3QSA4VAJPEC6JD/