On Mon, Jul 21, 2008 at 2:52 PM, Schmidt, Florian
<[EMAIL PROTECTED]> wrote:
>> -----Ursprüngliche Nachricht-----
>> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> ha.org] Im Auftrag von Michael Schwartzkopff
>> Gesendet: Montag, 21. Juli 2008 14:39
>> An: General Linux-HA mailing list
>> Betreff: Re: [Linux-HA] after drbd-splitbrain both primary
>>
>> Am Montag, 21. Juli 2008 14:35 schrieb Schmidt, Florian:
>> > Hi everyone,
>> >
>> > While testing my cluster I just disconnected the DRBD-link.
>> > I expected the following:
>> >
>> > Because only the DRBD-link (=second heartbeat-link) was down, heartbeat
>> > still knows that both nodes are up and does not change anything. DRBD
>> > should stay in primary/secondary state but because of the
>> > drbd-split-brain this should be seen as primary/unknown on the first and
>> > secondary/unknown on the second node.
>> >
>> > But this didn't happen. Both nodes had primary drbd-volumes after
>> > disconnecting link.
>> >
>> > Can anyone tell me, why heartbeat or whoever did this?
>>
>> Hi,
>>
>> I suggest: Each DRBD does not see the other one, thinks the other died and
>> promotes itself.
>> Use dopd to prevent this behaviour.
>
> Is DRBD able to promote itself? I thought it isn't and you can demote and 
> promote it only manually (or via heartbeat or something else...)?!?

Unless you configure drbd to start up as primary on both nodes (e.g.
to use OCFS2 or another Clusterfilesystem) you have to promote a drbd
resource manually ... or let it promote e.g. via heartbeat

One potential problem I saw in your cib: if you use the heartbeat
"drbddisk" RA and not the OCF RA you have to configure positional
parameters or the drbddisk RA will promote all drbd-resources per
default.

... as an example, change:

<nvpair id="drbddisk_afd_resource" name="drbd_resource" value="drbd_afd"/>

^^^^^^^^^^^^^^^^^^
... to:

<nvpair id="drbddisk_afd_resource" name="1" value="drbd_afd"/>
                                                                      ^

... because the first paramter to drbdisk has to be the drbd resource name.

Regards,
Andreas

>
> So it seems that I was wrong...
>
> Well let's repair the broken cluster and configure dopd.
>
> Thanks
> Florian
>
>
>> Michael.
>>
>> --
>> Dr. Michael Schwartzkopff
>> MultiNET Services GmbH
>> Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
>> Tel: +49 - 89 - 45 69 11 0
>> Fax: +49 - 89 - 45 69 11 21
>> mob: +49 - 174 - 343 28 75
>>
>> mail: [EMAIL PROTECTED]
>> web: www.multinet.de
>>
>> Sitz der Gesellschaft: 85630 Grasbrunn
>> Registergericht: Amtsgericht München HRB 114375
>> Geschäftsführer: Günter Jurgeneit, Hubert Martens
>>
>> ---
>>
>> PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
>> Skype: misch42
>> _______________________________________________
>> 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
>
_______________________________________________
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