[Pacemaker] drbd connection

Elmar Marschke elmar.marschke at schenker.at
Mon Jun 17 16:30:56 UTC 2013


Am 17.06.2013 15:59, schrieb Digimer:
> On 06/17/2013 09:53 AM, andreas graeper wrote:
>> hi,
>> i will not have a stonith-device. i can test for a day a 'expert power
>> control 8212', but in the end i will stay without.
>
> This is an extremely flawed approach. Clustering with shared storage and
> without stonith will certainly cause data loss or corruption eventually.
> I can not stress this enough.

hi all,

just an idea, or moreover a question: what about using drbd's abilities 
to automatically handle split brain situations instead of "real 
stonithing" ; maybe like this (global_common.conf):

handlers {
         split-brain "/usr/lib/drbd/notify-split-brain.sh root";
         pri-lost-after-sb "/usr/local/sbin/reboot.sh";
     }

     net {
         after-sb-0pri discard-least-changes;
         after-sb-1pri call-pri-lost-after-sb;
         after-sb-2pri call-pri-lost-after-sb;
     }

Couldn't this work like a "poor man's stonith device"?
(Of course this reboots the whole node with all ressources and discards 
the node with the least changes, but maybe there are situations where 
this doesn't matter?)

regards

Elmar





More information about the Pacemaker mailing list