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

Arman Khalatyan arm2arm at gmail.com
Thu Dec 4 09:17:51 UTC 2014


I just found very simple solution by adding a dummy interface on host.
Same with VMs. So the only hosts with dummy interface are able to run the
VMs. Works even with HA-VMs.
For sure it is  a hack and not so elegant solution, But it works.:)
a.


***********************************************************

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 3:33 PM, Doron Fediuck <dfediuck at redhat.com> wrote:

> Just for the record, affinity deals with the relation
> between VMs, and pinning is about the relation between
> a VM and a host.
>
> We're considering extending affinity to handle hosts
> as well, but it's not a trivial change.
>
> Doron
>
> ----- Original Message -----
> > From: "Arman Khalatyan" <arm2arm at gmail.com>
> > To: "Itamar Heim" <iheim at redhat.com>
> > Cc: "users" <users at ovirt.org>
> > Sent: Sunday, November 30, 2014 3:30:19 PM
> > Subject: Re: [ovirt-users] How to stick VM to hosts?
> >
> > 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 at 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 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
> >
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141204/9f784077/attachment-0001.html>


More information about the Users mailing list