On 10/25/2011 07:51 PM, Hai Tao wrote:
> 
> actually what I saw is that both nodes shut down heartbeat, and then 
> restarted heartbeat

I guess you are using Heartbeat v1 .... without crm but haresources
config file?

Regards,
Andreas

-- 
Need help with Pacemaker?
http://www.hastexo.com/now


> 
> 
> Thanks.
>  
> Hai Tao
>  
> 
> 
>> Date: Tue, 25 Oct 2011 10:35:53 -0700
>> From: [email protected]
>> To: [email protected]; [email protected]
>> Subject: Re: [Linux-HA] what if brain split happens
>>
>> On Tue, 25 Oct 2011, Dimitri Maziuk wrote:
>>
>>> On 10/24/2011 10:49 PM, Hai Tao wrote:
>>>>
>>>> In case heartbeat communication is lost, brain split then happened, both 
>>>> nodes (a two nodes cluster for a simple example) are having the vip and 
>>>> other resources.
>>>>
>>>> When the heartbeat commnication comes back, what will happen?
>>>>
>>>> 1. both nodes will still having the vip and resources forever?
>>>> 2. both nodes realize that brain split has happened, and will restart 
>>>> heartbeat?
>>>
>>> In theory -- #2 except they shouldn't restart heartbeat, one of them
>>> should stop the resources. In practice one of the interesting things
>>> that happen when the comms come back is you have a duplicate ip address
>>> (vip) on your network. That's not something you want to happen, so you
>>> better make sure one of the nodes is down before you restore the comms.
>>
>> actually, I believe that what happens is that both nodes stop the resouce, 
>> and 
>> then one of the nodes starts it.
>>
>> this solves the dup-IP problem because starting the resource re-sends the 
>> appropriate ARP packets to clean up the network.
>>
>> David Lang
>> _______________________________________________
>> Linux-HA mailing list
>> [email protected]
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
>                                         
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to