[ovirt-users] Host to VM Affinity rules
Martin Sivak
msivak at redhat.com
Thu Dec 15 14:32:46 UTC 2016
Hi Luca,
we have couple of features (present and coming) that might be related
to what you need:
1) Preferred hosts and host pinning
This is controlled by the Start Running On list. A VM will start on
one of those hosts of possible, but it will still start somewhere else
if the selected hosts are not capable of running the VM (down, not
enough memory, ...)
You can combine this with disabled migrations (the same dialog) to get
what we call VM pinning. VMs configured like that will only start on
one of the listed hosts and will never migrate.
2) Affinity labels
There is a new feature we introduced in oVirt 4.0 that allows you to
specify a "sub-cluster". It is a stronger version of the Preferred
hosts setting, because it makes sure a labelled VM is only started or
migrated to hosts with the same label.
You can read more about it in my blog post:
https://www.ovirt.org/blog/2016/07/affinity-labels/
3) VM to Host affinity
We are working on an enhancement to the current VM to VM affinity
groups for oVirt 4.1. This update will add host support to the
affinity groups and allow you the same flexibility you currently have
with VM to VM affinity groups (soft/strong positive/negative
relationship).
Best regards
--
Martin Sivak
SLA / oVirt
On Thu, Dec 15, 2016 at 2:27 PM, Luca 'remix_tj' Lorenzetto
<lorenzetto.luca at gmail.com> wrote:
> Hi,
>
> i'm looking for more information about affinity rules in oVirt 4. The
> only rules i've been able to set is between vm. I have not found the
> way to specify an affinity rule between host and guests.
> The only option available is "Start Running On" on the Host tab while
> editing the vm. Does this option refers to the possible host where the
> vm starts or is more restrictive and defines where the vm can be
> executed (and is somewhat like an affinity rule)?
>
> Thank you
>
> Luca
>
> --
> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare
> calcoli che potrebbero essere affidati a chiunque se si usassero delle
> macchine"
> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>
> "Internet è la più grande biblioteca del mondo.
> Ma il problema è che i libri sono tutti sparsi sul pavimento"
> John Allen Paulos, Matematico (1945-vivente)
>
> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <lorenzetto.luca at gmail.com>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
More information about the Users
mailing list