[Pacemaker] Resource migrates between nodes with equal scores for resource

Andrew Beekhof beekhof at gmail.com
Fri Aug 15 14:25:38 EDT 2008


On Aug 15, 2008, at 5:53 PM, Jesse W. Hathaway wrote:

>> On 2008-08-14T14:23:32, "Jesse W. Hathaway" <jesse at mbuki-mvuki.org>  
>> wrote:
>>
>>> I have two nodes hatest01 & hatest02 and a resource group
>>> ESB_HA with equal scores on both nodes:
>>>
>>> Sequence:
>>>
>>>  1. Both nodes are active and ESB_HA is running on hatest01
>>>
>>>  2. I shutdown down heartbeat on hatest01, ESB_HA migrates
>>>     to hatest02
>>>
>>>  3. I restart heartbeat on hatest01, ESB_HA migrates to
>>>     hatest01
>>>
>>> Given that both nodes have equal scores why does step 3
>>> occur?
>>
>> Because they have equal scores. Then the UUID settles it.
>>
>> You want to use resource-stickiness.
>
> thanks that solved my problem, I just surmised that in a tie
> all resources would stay where they are.

IIRC i recently made a change that makes it work this way

>
>
> I assume that using the UUID as a tie breaker is needed in
> other instances for proper cluster operation?

actually its the uname, but basically one just needs some way to break  
the tie in a repeatable fashion

>
>
> thanks, Jesse
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker





More information about the Pacemaker mailing list