[ovirt-users] How to stick VM to hosts?

Itamar Heim iheim at redhat.com
Sun Nov 30 13:20:08 UTC 2014


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 at gmail.com>
> To: "users" <users at 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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>




More information about the Users mailing list