I am sure you know about vm pinning, but it promise that you can run vm only on one specific vm, in your case you want to run vm on some range of hosts, exclude some specific hosts. At the moment ovirt don't have such thing of policy, but you can write your own filter for scheduler-proxy, that will filter all hosts except ones that you need: http://www.ovirt.org/Features/oVirt_External_Scheduling_Proxy http://www.ovirt.org/External_Scheduler_Samples
You need to install package ovirt-scheduler-proxy and also enable it via engine-config -s ExternalSchedulerEnabled=True. Also additional info you can find under cd /usr/share/doc/ovirt-scheduler-proxy* I hope it will help you. Thanks ----- Original Message ----- From: "Arman Khalatyan" <arm2...@gmail.com> To: "users" <users@ovirt.org> Sent: Friday, November 28, 2014 11:51:40 AM Subject: [ovirt-users] How to stick VM to hosts? Hello, I have 2 VMs with the negative Affinity. I am looking some way to force the VMs running on different selected hosts. Assuming I have hosts c1-c8: Can I tell VM to run on c1-c8 but not c2 and c4? Thanks, Arman. *********************************************************** Dr. Arman Khalatyan eScience -SuperComputing Leibniz-Institut für Astrophysik Potsdam (AIP) An der Sternwarte 16, 14482 Potsdam, Germany *********************************************************** _______________________________________________ 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