[Drbd-dev] [CASE 12] 2 primary split-brain is not detected
Philipp Reisner
philipp.reisner at linbit.com
Sun Jan 24 00:06:10 CET 2016
Hi,
thanks for the detailed description.
Please find attached a proposed fix. I want to think about it for one more
day before I push it onto the master branch.
best regards,
phil
> Hello,
>
> thank you for your reply. appreciated that
>
> I tested again with current GIT-head version(Commit: [9c711b4]), reproduce
> this issue, and same result is happened.
>
> more detail descriptions are below :
>
> 1) Env:
>
> - CentOS 7 64bit
> - i7 4790K CPU 4Ghz , memory :1G
> - 2 node VM
>
> 2) drbd version (self build)
>
> [root at drbd9-02 ]# ls -l
> /lib/modules/3.10.0-229.7.2.el7.x86_64/updates/drbd.ko
> -rw-r--r-- 1 root root 10657876 * Jan 21* 11:01
> /lib/modules/3.10.0-229.7.2.el7.x86_64/updates/drbd.ko
>
> 3) scenario:
> - basically, progressed to 2-primary split-brain scenario.
> - first, 2 node status is secondary-secondary uptodate
> node 1 node 2
> drbdadm disconnect r0
> drbdadm primary r0
> copy files on node1 volume
> drbdadm primary r0
> copy files on node2 volume
> drbdadm connect r0
>
> 4) result
>
> - 2 primary Split-brain did not occurred.
> - according to drbd kernel log, I guess that connecting phase is failed and
> retry to connect between 2 nodes, repeatedly.
>
>
> you will see my drbd configuration and kernel log files, attached.
>
> I hope that help for you.
>
> Best Regards
> Sung-eun kim
> from Seoul
>
>
> [image: 설명: logo]
>
> 기술연구소 / DRBD팀 Mobile : 010-2813-4843
>
> *김 성 은 **차장 sekim at mantech.co.kr <sekim at mantech.co.kr>*
>
> 서울특별시 성동구 성수일로4길 25 서울숲코오롱디지털타워 12층
>
> Tel : 02-2136-6913 / Fax : 02-575-4858 / 콜센터 : 1833-7790
>
> http://www.mantech.co.kr
>
> [image: 본문 이미지 1]
>
> 2016-01-20 18:26 GMT+09:00 Philipp Reisner <philipp.reisner at linbit.com>:
> > Hi,
> >
> > I am following up on CASE 12 now.
> >
> > I was not able to reproduce what you describe in this report.
> > Please check that you can still reproduce it with current GIT-head.
> >
> > If yes, please re-send it with a more detailed description, including:
> > Configuration used.
> > Logfiles from begin to end of the test.
> >
> > Thanks!
> >
> > Best regards,
> >
> > Phil
> >
> > > Hello,
> > >
> > > I am Software Manager in Mantech, and testing drbd 9.
> > >
> > > some problems are occurred. CASE 12 is one of them.
> > >
> > > [CASE 12] 2 primary split-brain is not detected.
> > >
> > > Env:
> > > - Linux VM 2 nodes
> > > - Linux drbd version 9.0.0
> > >
> > > Test scenario:
> > >
> > > - 2 node's status is uptodate
> > >
> > > node 1node 2drbdadm disconnect r0 drbdadm primary r0 copy files on
> > > node1 drbdadm
> > > primary r0 copy files on node2
> > > drbdadm connect r0
> > >
> > > - at this point, we predicted that 2 primary split-brain is occurred and
> > > drbd9 detect it.
> > >
> > > But split-brain is not occurred, not detected. no debug log.
> > > Just retry connection log is showing between two nodes.
> > >
> > > Question is :
> > >
> > > 1) How can I test 2 primary split-brain situation ?
> > >
> > > 2) Does support 2 primary split-brain in drbd9 ?
> > >
> > >
> > > PS)
> >
> > http://drbd.linbit.com/users-guide-9.0/s-configure-split-brain-behavior.ht
> > ml>
> > > #s-split-brain-notification
> > >
> > > drbd9's manual describe 'after-sb-2pri' option.
> > >
> > > Thanks,
> > >
> > >
> > > Best Regards
> > > Sungeun Kim
> > >
> > >
> > >
> > >
> > > [image: 설명: logo]
> > >
> > > 기술연구소 / DRBD팀 Mobile : 010-2813-4843
> > >
> > > *김 성 은 **차장 sekim at mantech.co.kr <sekim at mantech.co.kr>*
> > >
> > > 서울특별시 성동구 성수일로4길 25 서울숲코오롱디지털타워 12층
> > >
> > > Tel : 02-2136-6913 / Fax : 02-575-4858 / 콜센터 : 1833-7790
> > >
> > > http://www.mantech.co.kr
> > >
> > > [image: 본문 이미지 1]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: case12_fix.patch
Type: text/x-patch
Size: 1854 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-dev/attachments/20160124/f0f0f082/attachment.bin>
More information about the drbd-dev
mailing list