[Drbd-dev] DRBD8: pri-lost-after-sb handler not kicking in on Split-brain or so it seems

Montrose, Ernest Ernest.Montrose at stratus.com
Wed Oct 25 00:06:18 CEST 2006


Hi all,
I set my configuration to allow two primaries and have those parameters
set:
 
allow-two-primaries;
after-sb-0pri discard-least-changes;
after-sb-2pri call-pri-lost-after-sb;
 
I, of course, set a pri-lost-after-sb handler.    I then induced a split
brain (Ifdown hbiface; ifup hbiface).
I issue a drbdadm connect all on my primary.
 
What happens is that:
*	one of the nodes is forced to be secondary. (T original state
was Primary/Primary before the split brain)
*	My handler I never called.
 
A quick look at drbd_receiver.c:drbd_asb_recover_2p() reveals that my
handler would not be called because I successfully
Setup the node to secondary.  Is this by design?  I would like for the
handler to be called every time I attempt to recover from SB. Or at
least,
If in fact, the SB is "automatically solved" then my Sstate of
Primary/Primary should return.  Any thoughts?
 
Thanks,
 
EM--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linbit.com/pipermail/drbd-dev/attachments/20061024/4da62530/attachment.html


More information about the drbd-dev mailing list