[DRBD-user] Problems with DRBD and OCFS2 in Active-Active Mode

Fernando de Lima e Silva fernando.lima at bsd.com.br
Fri Jun 18 20:05:26 CEST 2010


Hi All,

I need help, maybe somebody can help me.

I'm trying setup two actives nodes cluster with drbd and ocfs2.

It's working fine, but when I restart some node I have problem with split
brain.

 When I setup the drbd.conf to only disconnect. I run the manual process and
solve the split brain.

I'm trying setup the the automatic policy, but it's not working. Follow my
settings:

  net {
    allow-two-primaries;
    after-sb-0pri discard-younger-primary;
    after-sb-1pri violently-as0p;
    after-sb-2pri violently-as0p;
}

My question is, with my settings the sync would happens from the older
primary node, right ?

Follow the error on my log

Jun 18 14:34:37 teste-21 kernel: [   47.942969] drbd1: Split-Brain detected,
2 primaries, automatically solved. Sync from peer node
Jun 18 14:34:37 teste-21 kernel: [   47.942969] drbd1: I shall become
SyncTarget, but I am primary!
Jun 18 14:34:37 teste-21 kernel: [   47.942969] drbd1: conn( WFReportParams
-> Disconnecting )
Jun 18 14:34:37 teste-21 kernel: [   47.942969] drbd1: error receiving
ReportState, l: 4!
Jun 18 14:34:37 teste-21 kernel: [   47.942969] drbd1: asender terminated
Jun 18 14:34:37 teste-21 kernel: [   47.942969] drbd1: Terminating asender
thread
Jun 18 14:34:37 teste-21 kernel: [   47.950990] drbd1: Connection closed
Jun 18 14:34:37 teste-21 kernel: [   47.950990] drbd1: conn( Disconnecting
-> StandAlone )
Jun 18 14:34:37 teste-21 kernel: [   47.950990] drbd1: receiver terminated
Jun 18 14:34:37 teste-21 kernel: [   47.950990] drbd1: Terminating receiver
thread

On Nodes the status are: WFConnection  and StandAlone

Please, somebody can help me ?

Best Regards
Fernando L. Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20100618/4bb47951/attachment.html>


More information about the drbd-user mailing list