[Pacemaker] Unnecessary shuffling of master/slave resources and maybe a split brain

Adrian Chapela achapela.rexistros at gmail.com
Thu Nov 20 19:49:06 CET 2008


Dominik Klein escribi=F3:
> Adrian Chapela wrote:
>> Dominik Klein escribi=F3:
>>>> What are you saying me ? I should have another communication =

>>>> channel as a COM port... I could test this with a null modem cable.
>>>
>>> You need at least 2 connections between the nodes. It never was =

>>> different.
>>>
>>> It once was true that a null modem oder serial cable as the second =

>>> connection was enough - from my _personal_ experience, having 2 =

>>> ethernet connections is better (because faster and able to cope with =

>>> the rather high traffic of v2 (pacemaker)).
>> I tested two options. I think the best option is a second ethernet =

>> card. I have configured this option but I saw that my cluster didn't =

>> do a failover.
>> The two connections are in different networks (One in 192.168.18.X =

>> and other in 172.16.1.0) but I don't know why pingd isn't going down =

>> all of resources.
>>
>> I have this connectivity constraint:
>>        <rsc_location id=3D"mail-connectivity" rsc=3D"Mail-drbd">
>>                <rule id=3D"mail-pingd-prefer-rule" score=3D"-INFINITY" =

>> role=3D"Master">
>>                        <expression id=3D"mail-pingd-prefer" =

>> attribute=3D"pingd" operation=3D"lt" value=3D"1000"/>
>>                </rule>
>>        </rsc_location>
>>
>>
>>
>>        <rsc_location id=3D"samba-connectivity" rsc=3D"Samba-drbd">
>>                <rule id=3D"samba-pingd-exclude-rule" score=3D"-INFINITY"=
 >
>>                        <expression id=3D"samba-pingd-exclude" =

>> attribute=3D"pingd" operation=3D"lt" value=3D"1000"/>
>>                </rule>
>>        </rsc_location>
>>
>> And this colocation:
>> <rsc_colocation id=3D"mail_drbrd_rule" rsc=3D"Mail" with-rsc=3D"Mail-drb=
d" =

>> with-rsc-role=3D"Master" score=3D"INFINITY"/>
>> <rsc_colocation id=3D"samba_drbrd_rule" rsc=3D"Samba" =

>> with-rsc=3D"Samba-drbd" with-rsc-role=3D"Master" score=3D"INFINITY"/>
>>
>> The node lost connectivity with 192.168.18.0 (I defined all host in =

>> this  network for pingd) and pingd value should be less than 1000.
>
> Should be or is?
It could be a problem with pingd again, I couldn't see pingd updating =

the value.
I have attached hb_report.
>
> Could you post your xml including the status section in this situation?

>
> Regards
> Dominik
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: report.tar.bz2
Type: application/x-bzip
Size: 30831 bytes
Desc: not available
Url : http://list.clusterlabs.org/pipermail/pacemaker/attachments/20081120/=
f252c1cd/report.tar-0001.bin


More information about the Pacemaker mailing list