[Drbd-dev] drbd.ocf Split-Brain detection patch
Uwe Grawert
grawert at b1-systems.de
Mon Nov 15 15:55:46 CET 2010
Zitat von Lars Ellenberg <lars.ellenberg at linbit.com>:
>> --- /usr/lib/ocf/resource.d/linbit/drbd 2010-10-28 14:58:05.000000000 +0200
>> +++ drbd.split-brain.patch 2010-11-15 14:28:46.000000000 +0100
>> @@ -405,6 +405,9 @@
>> case "${DRBD_ROLE_LOCAL}" in
>> Primary)
>> rc=$OCF_RUNNING_MASTER
>> + # This Node is Primary but StandAlone, there must be a Split-Brain
>> + [[ $OCF_RESKEY_CRM_meta_master_max = 2 && $DRBD_CSTATE =
>> "StandAlone" ]] \
>> + && rc=$OCF_ERR_CONFIGURED
>
> If only it was so easy. It it not.
> There are other ways to end up in StandAlone.
Ok. Meaning there is no way to determine a Split-Brain at a central
point like this? This one is off course what I experienced while
setting up a cluster.
--
Uwe Grawert
Linux / Unix Consultant & Trainer
Tel.: +49 151 12051100
Mail: grawert at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
More information about the drbd-dev
mailing list