On Tue, Mar 29, 2011 at 08:13:49AM +0200, Christoph Bartoschek wrote:
> Am 29.03.2011 02:35, schrieb Vadym Chepkov:
> >
> > On Mar 28, 2011, at 10:55 AM, Christoph Bartoschek wrote:
> >
> >> Am 28.03.2011 16:30, schrieb Dejan Muhamedagic:
> >>> Hi,
> >>>
> >>> On Mon, Mar 21, 2011 at 11:33:49PM +0100, Christoph Bartoschek wrote:
> >>>> Hi,
> >>>>
> >>>> I am testing a NFS failover setup. During the tests I created a
> >>>> split-brain situation and now node A thinks it is primary and uptodate
> >>>> while node B thinks that it is Outdated.
> >>>>
> >>>> crm_mon however does not indicate any error to me. Why is this the case?
> >>>> I expect to see anything that shows me the degraded status. How can this
> >>>> be fixed?
> >>>
> >>> The cluster relies on the RA (in this case drbd) to report any
> >>> problems. Do you have a monitor operation defined for that
> >>> resource?
> >>
> >> I have the resource defined as:
> >>
> >> primitive p_drbd ocf:linbit:drbd \
> >>     params drbd_resource="home-data"
> >>     op monitor interval="15" role="Master" \
> >>     op monitor interval="30" role="Slave"
> >>
> >> Is this a correct monitor operation?

Yes, though you should also add timeout specs.

> > Just out of curiosity, you do have ms resource defined?
> >
> > ms ms_p_drbd p_drbd \
> >          meta master-max="1" master-node-max="1" clone-max="2" 
> > clone-node-max="1" notify="true"
> >
> > Because if you do and cluster is not aware of the split-brain, drbd RA has 
> > a serious flaw.
> >
> 
> I'm sorry. Yes, the ms resource is also defined.

Well, I'm really confused. You basically say that the drbd disk
gets into a degraded mode (i.e. it detects split brain), but the
cluster (pacemaker) never learns about that. Perhaps you should
open a bugzilla for this and supply hb_report. Though it's
really hard to believe. It's like basic functionality failing.

Thanks,

Dejan

> Christoph
> _______________________________________________
> 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