Thanks for ideas.
I will try http://www.ovirt.org/External_Scheduler_Samples looks nice.
Itamar the VM-Affinity selects the VMs, but not the hosts.
Would be nice in the next release to add some host pinning options as well.
Cheers,
Arman.


***********************************************************
Dr. Arman Khalatyan eScience -SuperComputing Leibniz-Institut für Astrophysik Potsdam (AIP) An der Sternwarte 16, 14482 Potsdam, Germany
***********************************************************

On Sun, Nov 30, 2014 at 2:20 PM, Itamar Heim <iheim@redhat.com> wrote:
On 11/30/2014 12:58 PM, Artyom Lukianov wrote:
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*

why - since 3.4 we have affinity support out of the box?
http://www.ovirt.org/Features/VM-Affinity



I hope it will help you.
Thanks

----- Original Message -----
From: "Arman Khalatyan" <arm2arm@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