[Users] prevent VMs from sharing the same node

Itamar Heim iheim at redhat.com
Wed Nov 21 22:58:26 UTC 2012


On 11/20/2012 04:06 PM, Dafna Ron wrote:
> yes.
> you can pin a vm to a host so that it will only run on that host and not
> migrate or only migrate if command is sent by administrator.
>
> edit a vm or create a new one and look at the hosts section.
>
>
>
> On 11/20/2012 03:50 PM, Jonathan Horne wrote:
>> Is it possible to prevent to specific Vms from sharing the same node?
>>   Say for instance if I had a pair of mysql servers, and I wanted to
>> ensure that they never lived on the same host (i.e., to prevent them
>> from both going down if the host node ever had some catastrophic event) ?
>>

another approach would be to put the two nodes in separate clusters 
(could be in same DC).
the tag name for what you want is "negative affinity" in scheduling, 
which we still need to get to (or you could do yourself, once we have a 
pluggable scheduling api.



More information about the Users mailing list