[Pacemaker] Only Xen primitives not in groups migrate on failover

Andrew Beekhof andrew at beekhof.net
Tue Apr 27 15:17:10 EDT 2010


On Tue, Apr 27, 2010 at 9:12 PM, Michael Brown <michael at netdirect.ca> wrote:
> Is there A Better Way to do this, or is the best approach to colocate
> each domU with the group?

In order for the domU to migrate, everything it needs must be on the
current host AND already at the destination.
ONLY cloned resources satisfy this requirement.

>
> M.
>
> On 04/27/2010 02:41 PM, Andrew Beekhof wrote:
>> On Tue, Apr 27, 2010 at 6:39 PM, Michael Brown <michael at netdirect.ca> wrote:
>>
>>> Greetings,
>>>
>>> I've discovered that if I have ocf::hb:Xen resources as primitives, they
>>> migrate to other nodes on failover.
>>>
>>> But if they are members of a group, the domUs stop/start. Am I doing it
>>> wrong?
>>>
>> No.  The semantics of groups prohibit live migration.
>>
>>
>>> I'd like to use the groups to minimize the amount of config I
>>> need for each VM.
>>>
>>> Here's my current config: http://pastebin.com/LSqWvtEx
>>>
>>> guest1 stops/starts when triggered
>>> guest3 migrates when triggered
>>>
>>> Thanks,
>>>
>>> Michael
>>>
>>> --
>>> Michael Brown               | `One of the main causes of the fall of
>>> Systems Consultant          | the Roman Empire was that, lacking zero,
>>> Net Direct Inc.             | they had no way to indicate successful
>>> ☎: +1 519 883 1172 x5106    | termination of their C programs.' - Firth
>>>
>>>
>>>
>>> _______________________________________________
>>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>>
>>> Project Home: http://www.clusterlabs.org
>>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>>>
>> _______________________________________________
>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>> Project Home: http://www.clusterlabs.org
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>
>
> --
> Michael Brown               | `One of the main causes of the fall of
> Systems Consultant          | the Roman Empire was that, lacking zero,
> Net Direct Inc.             | they had no way to indicate successful
> ☎: +1 519 883 1172 x5106    | termination of their C programs.' - Firth
>
>
>




More information about the Pacemaker mailing list