<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-language: ZH-CN"><FONT color=#000000><FONT face="Times New Roman">Hi,</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-language: ZH-CN"><FONT face="Times New Roman" color=#000000></FONT></SPAN>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-language: ZH-CN"><FONT face="Times New Roman" color=#000000>There are several items such as below in /etc/drbd.conf.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-language: ZH-CN"><FONT face="Times New Roman" color=#000000>You may need to study it.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-language: ZH-CN"><FONT face="Times New Roman" color=#000000></FONT></SPAN>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-language: ZH-CN"><FONT face="Times New Roman" color=#000000>My DRBD is 8.3.0.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-language: ZH-CN"><FONT face="Times New Roman" color=#000000>It works well.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-language: ZH-CN"><FONT face="Times New Roman" color=#000000></FONT></SPAN>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-language: ZH-CN"><FONT face="Times New Roman" color=#000000>edward</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-language: ZH-CN"><FONT face="Times New Roman" color=#000000></FONT></SPAN>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-language: ZH-CN"><FONT color=#000000><FONT face="Times New Roman">#after-sb-0pri disconnect;<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-language: ZH-CN"><FONT color=#000000><FONT face="Times New Roman">after-sb-0pri "discard-older-primary";<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-language: ZH-CN"><o:p><FONT face="Times New Roman" color=#000000>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; mso-fareast-language: ZH-CN"><FONT color=#000000><FONT face="Times New Roman">#after-sb-1pri disconnect;<o:p></o:p></FONT></FONT></SPAN></P>
<SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-language: ZH-CN; mso-fareast-font-family: ËÎÌå; mso-ansi-language: EN-US; mso-bidi-language: AR-SA"><FONT color=#000000>after-sb-1pri discard-secondary;&nbsp;</FONT></SPAN><BR>&nbsp;<BR>&gt; Date: Tue, 4 Aug 2009 18:58:15 +0200<BR>&gt; From: pierre.lebrech@laposte.net<BR>&gt; To: drbd-user@lists.linbit.com<BR>&gt; Subject: [DRBD-user] split brain detected when switching back to the 2node cluster from the DR node<BR>&gt; <BR>&gt; Hello,<BR>&gt; <BR>&gt; I always get a split brain when I switch the HA services back to the 2node cluster from my DR node.<BR>&gt; <BR>&gt; Here are the steps I follow :<BR>&gt; <BR>&gt; - HA services are on the DR node<BR>&gt; - I stop these HA services<BR>&gt; - I umount the data<BR>&gt; <BR>&gt; The state of DRBD on node3 is as follow :<BR>&gt; <BR>&gt; ------------------------------<BR>&gt; version: 8.3.2 (api:88/proto:86-90)<BR>&gt; GIT-hash: dd7985327f146f33b86d4bff5ca8c94234ce840e build by root@hcns1, 2009-08-04 09:41:09<BR>&gt; <BR>&gt; 1: cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r----<BR>&gt; ns:0 nr:34083396 dw:34084032 dr:68168163 al:12 bm:2094 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:208<BR>&gt; ------------------------------<BR>&gt; <BR>&gt; Then, on node1 :<BR>&gt; <BR>&gt; - drbdadm primary r0<BR>&gt; - I start the HA IP<BR>&gt; - drbdadm --stacked up r0-U<BR>&gt; <BR>&gt; At this point, every thing is OK. Here is the output of cat /proc/drbd :<BR>&gt; <BR>&gt; ------------------------------<BR>&gt; version: 8.3.2 (api:88/proto:86-90)<BR>&gt; GIT-hash: dd7985327f146f33b86d4bff5ca8c94234ce840e build by root@hans1, 2009-08-04 09:43:39<BR>&gt; 0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----<BR>&gt; ns:13706 nr:174 dw:15096 dr:102401147 al:30 bm:2170 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0<BR>&gt; 1: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----<BR>&gt; ns:0 nr:244 dw:244 dr:416 al:0 bm:9 lo:0 pe:0 ua:0 ap:0 ep:1 wo:d oos:0<BR>&gt; ------------------------------<BR>&gt; <BR>&gt; Then, I set all things back (reset) :<BR>&gt; <BR>&gt; on node1 :<BR>&gt; <BR>&gt; - drbdadm --stacked down r0-U<BR>&gt; - drbdadm secondary r0<BR>&gt; - I stop the HA IP<BR>&gt; <BR>&gt; The state on node1 is as follow :<BR>&gt; <BR>&gt; ------------------------------<BR>&gt; version: 8.3.2 (api:88/proto:86-90)<BR>&gt; GIT-hash: dd7985327f146f33b86d4bff5ca8c94234ce840e build by root@hans1, 2009-08-04 09:43:39<BR>&gt; 0: cs:Connected ro:Secondary/Secondary ds:UpToDate/UpToDate C r----<BR>&gt; ns:13707 nr:174 dw:15097 dr:102401147 al:30 bm:2186 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0<BR>&gt; 1: cs:Unconfigured<BR>&gt; ------------------------------<BR>&gt; <BR>&gt; on node3, I type these commands to reset the state :<BR>&gt; <BR>&gt; - drbdadm secondary r0-U<BR>&gt; <BR>&gt; Then, on node1 and node2, I start heartbeat normally.<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Well, each time I follow theses steps, node3 gets a split-brain.<BR>&gt; <BR>&gt; Where is the problem?<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; context : 3-node cluster, every node connected, HA services on node1, DRBD version 8.3.2 on linux 2.6.30.<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; drbd-user mailing list<BR>&gt; drbd-user@lists.linbit.com<BR>&gt; http://lists.linbit.com/mailman/listinfo/drbd-user<BR><br /><hr />Share your memories online with anyone you want <a href='http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1' target='_new'>anyone you want.</a></body>
</html>