No subject


Fri Oct 28 02:41:40 EDT 2011


me reason, is not waiting for getting an established connection (to get ini=
tial sync) before changing its role to Primary. =A0(I apologize for the len=
gth of the log):<br>

<br>
May =A01 10:30:34 npf1 kernel: d-con mysql: Starting worker thread (from dr=
bdsetup [1960])<br>
May =A01 10:30:34 npf1 kernel: block drbd0: disk( Diskless -&gt; Attaching =
)<br>
May =A01 10:30:34 npf1 kernel: block drbd0: Method to ensure write ordering=
: barrier<br>
May =A01 10:30:34 npf1 kernel: block drbd0: max BIO size =3D 1048576<br>
May =A01 10:30:34 npf1 kernel: block drbd0: drbd_bm_resize called with capa=
city =3D=3D 143355552<br>
May =A01 10:30:34 npf1 kernel: block drbd0: resync bitmap: bits=3D17919444 =
words=3D279992 pages=3D547<br>
May =A01 10:30:34 npf1 kernel: block drbd0: size =3D 68 GB (71677776 KB)<br=
>
May =A01 10:30:34 npf1 kernel: block drbd0: bitmap READ of 547 pages took 2=
6 jiffies<br>
May =A01 10:30:34 npf1 kernel: block drbd0: recounting of set bits took add=
itional 1 jiffies<br>
May =A01 10:30:34 npf1 kernel: block drbd0: 0 KB (0 bits) marked out-of-syn=
c by on disk bit-map.<br>
May =A01 10:30:34 npf1 kernel: block drbd0: disk( Attaching -&gt; UpToDate =
)<br>
May =A01 10:30:34 npf1 kernel: block drbd0: attached to UUIDs 343EF8A0E434C=
9D8:<u></u>0000000000000000:<u></u>282208A916EB5687:<u></u>282108A916EB5687=
<br>
May =A01 10:30:34 npf1 lrmd: [1803]: info: RA output: (DRBD:0:start:stdout)=
<br>
May =A01 10:30:34 npf1 kernel: d-con mysql: conn( StandAlone -&gt; Unconnec=
ted )<br>
May =A01 10:30:34 npf1 kernel: d-con mysql: Starting receiver thread (from =
drbd_w_mysql [1961])<br>
May =A01 10:30:34 npf1 kernel: d-con mysql: receiver (re)started<br>
May =A01 10:30:34 npf1 kernel: d-con mysql: conn( Unconnected -&gt; WFConne=
ction )<br>
May =A01 10:30:34 npf1 lrmd: [1803]: info: RA output: (DRBD:0:start:stdout)=
<br>
May =A01 10:30:34 npf1 lrmd: [1803]: info: RA output: (DRBD:0:start:stdout)=
<br>
May =A01 10:30:34 npf1 crmd: [1806]: info: process_lrm_event: LRM operation=
 DRBD:0_start_0 (call=3D7, rc=3D0, cib-update=3D12, confirmed=3Dtrue) ok<br=
>
May =A01 10:30:34 npf1 crmd: [1806]: info: do_lrm_rsc_op: Performing key=3D=
53:84:0:5bc3f587-ac97-<u></u>491b-b102-2325c4352589 op=3DDRBD:0_notify_0 )<=
br>
May =A01 10:30:34 npf1 lrmd: [1803]: info: rsc:DRBD:0:8: notify<br>
May =A01 10:30:34 npf1 lrmd: [1803]: info: RA output: (DRBD:0:notify:stdout=
)<br>
May =A01 10:30:34 npf1 crmd: [1806]: info: send_direct_ack: ACK&#39;ing res=
ource op DRBD:0_notify_0 from 53:84:0:5bc3f587-ac97-491b-<u></u>b102-2325c4=
352589: lrm_invoke-lrmd-1335882634-4<br>
May =A01 10:30:34 npf1 crmd: [1806]: info: process_lrm_event: LRM operation=
 DRBD:0_notify_0 (call=3D8, rc=3D0, cib-update=3D0, confirmed=3Dtrue) ok<br=
>
May =A01 10:30:34 npf1 crmd: [1806]: info: do_lrm_rsc_op: Performing key=3D=
58:84:0:5bc3f587-ac97-<u></u>491b-b102-2325c4352589 op=3DDRBD:0_notify_0 )<=
br>
May =A01 10:30:34 npf1 lrmd: [1803]: info: rsc:DRBD:0:9: notify<br>
May =A01 10:30:34 npf1 crmd: [1806]: info: send_direct_ack: ACK&#39;ing res=
ource op DRBD:0_notify_0 from 58:84:0:5bc3f587-ac97-491b-<u></u>b102-2325c4=
352589: lrm_invoke-lrmd-1335882634-5<br>
May =A01 10:30:34 npf1 crmd: [1806]: info: process_lrm_event: LRM operation=
 DRBD:0_notify_0 (call=3D9, rc=3D0, cib-update=3D0, confirmed=3Dtrue) ok<br=
>
May =A01 10:30:34 npf1 crmd: [1806]: info: do_lrm_rsc_op: Performing key=3D=
20:84:0:5bc3f587-ac97-<u></u>491b-b102-2325c4352589 op=3DDRBD:0_promote_0 )=
<br>
May =A01 10:30:34 npf1 lrmd: [1803]: info: rsc:DRBD:0:10: promote<br>
May =A01 10:30:34 npf1 kernel: block drbd0: role( Secondary -&gt; Primary )=
<br>
May =A01 10:30:34 npf1 kernel: block drbd0: new current UUID 66767846186A82=
BB:<u></u>343EF8A0E434C9D8:<u></u>282208A916EB5687:<u></u>282108A916EB5687<=
br>
May =A01 10:30:34 npf1 lrmd: [1803]: info: RA output: (DRBD:0:promote:stdou=
t)<br>
May =A01 10:30:34 npf1 crmd: [1806]: info: process_lrm_event: LRM operation=
 DRBD:0_promote_0 (call=3D10, rc=3D0, cib-update=3D13, confirmed=3Dtrue) ok=
<br>
May =A01 10:30:34 npf1 crmd: [1806]: info: do_lrm_rsc_op: Performing key=3D=
59:84:0:5bc3f587-ac97-<u></u>491b-b102-2325c4352589 op=3DDRBD:0_notify_0 )<=
br>
May =A01 10:30:34 npf1 lrmd: [1803]: info: rsc:DRBD:0:11: notify<br>
May =A01 10:30:34 npf1 lrmd: [1803]: info: RA output: (DRBD:0:notify:stdout=
)<br>
May =A01 10:30:34 npf1 crmd: [1806]: info: send_direct_ack: ACK&#39;ing res=
ource op DRBD:0_notify_0 from 59:84:0:5bc3f587-ac97-491b-<u></u>b102-2325c4=
352589: lrm_invoke-lrmd-1335882634-6<br>
May =A01 10:30:34 npf1 crmd: [1806]: info: process_lrm_event: LRM operation=
 DRBD:0_notify_0 (call=3D11, rc=3D0, cib-update=3D0, confirmed=3Dtrue) ok<b=
r>
May =A01 10:30:34 npf1 crmd: [1806]: info: do_lrm_rsc_op: Performing key=3D=
7:84:0:5bc3f587-ac97-491b-<u></u>b102-2325c4352589 op=3DDRBD_fs_start_0 )<b=
r>
May =A01 10:30:34 npf1 lrmd: [1803]: info: rsc:DRBD_fs:12: start<br>
May =A01 10:30:34 npf1 Filesystem[2089]: INFO: Running start for /dev/drbd0=
 on /var/lib/mysql<br>
May =A01 10:30:34 npf1 kernel: EXT4-fs (drbd0): mounted filesystem with ord=
ered data mode. Opts:<br>
May =A01 10:30:34 npf1 crmd: [1806]: info: process_lrm_event: LRM operation=
 DRBD_fs_start_0 (call=3D12, rc=3D0, cib-update=3D14, confirmed=3Dtrue) ok<=
br>
May =A01 10:30:34 npf1 crmd: [1806]: info: do_lrm_rsc_op: Performing key=3D=
8:84:0:5bc3f587-ac97-491b-<u></u>b102-2325c4352589 op=3DDRBD_fs_monitor_120=
000 )<br>
May =A01 10:30:34 npf1 lrmd: [1803]: info: rsc:DRBD_fs:13: monitor<br>
May =A01 10:30:34 npf1 crmd: [1806]: info: do_lrm_rsc_op: Performing key=3D=
9:84:0:5bc3f587-ac97-491b-<u></u>b102-2325c4352589 op=3DMySQL_start_0 )<br>
May =A01 10:30:34 npf1 lrmd: [1803]: info: rsc:MySQL:14: start<br>
May =A01 10:30:34 npf1 lrmd: [2176]: WARN: For LSB init script, no addition=
al parameters are needed.<br>
May =A01 10:30:34 npf1 crmd: [1806]: info: process_lrm_event: LRM operation=
 DRBD_fs_monitor_120000 (call=3D13, rc=3D0, cib-update=3D15, confirmed=3Dfa=
lse) o<br>
May =A01 10:30:35 npf1 kernel: d-con mysql: Handshake successful: Agreed ne=
twork protocol version 100<br>
May =A01 10:30:35 npf1 kernel: d-con mysql: conn( WFConnection -&gt; WFRepo=
rtParams )<br>
May =A01 10:30:35 npf1 kernel: d-con mysql: Starting asender thread (from d=
rbd_r_mysql [1973])<br>
May =A01 10:30:35 npf1 kernel: block drbd0: drbd_sync_handshake:<br>
May =A01 10:30:35 npf1 kernel: block drbd0: self 66767846186A82BB:<u></u>34=
3EF8A0E434C9D8:<u></u>282208A916EB5687:<u></u>282108A916EB5687 bits:1 flags=
:0<br>
May =A01 10:30:35 npf1 kernel: block drbd0: peer D06952D9712CA916:<u></u>34=
3EF8A0E434C9D8:<u></u>282208A916EB5686:<u></u>282108A916EB5687 bits:41 flag=
s:0<br>
May =A01 10:30:35 npf1 kernel: block drbd0: uuid_compare()=3D100 by rule 90=
<br>
May =A01 10:30:35 npf1 kernel: block drbd0: helper command: /sbin/drbdadm i=
nitial-split-brain minor-0<br>
May =A01 10:30:35 npf1 kernel: block drbd0: helper command: /sbin/drbdadm i=
nitial-split-brain minor-0 exit code 0 (0x0)<br>
May =A01 10:30:35 npf1 kernel: block drbd0: Split-Brain detected, 1 primari=
es, automatically solved. Sync from this node<br>
May =A01 10:30:35 npf1 kernel: block drbd0: peer( Unknown -&gt; Secondary )=
 conn( WFReportParams -&gt; WFBitMapS ) pdsk( DUnknown -&gt; Consistent )<b=
r>
<br>
The only solutions we found is to put automatic SB resolving and resource-s=
tickiness, but we do NOT want auto split brain recovery and we want the ser=
vices to go back on NODE A when the cluster is back to a sane state.<br>

<br>
I can provide the configs if needed.<br>
<br>
Thanks for your help!<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
-- <br>
Francois Gaudreault, ing. jr<br>
<a href=3D"mailto:fgaudreault at inverse.ca" target=3D"_blank">fgaudreault at inv=
erse.ca</a> =A0:: =A0<a href=3D"tel:%2B1.514.447.4918" value=3D"+1514447491=
8" target=3D"_blank">+1.514.447.4918</a> (x130) :: =A0<a href=3D"http://www=
.inverse.ca" target=3D"_blank">www.inverse.ca</a><br>

Inverse inc. :: Leaders behind SOGo (<a href=3D"http://www.sogo.nu" target=
=3D"_blank">www.sogo.nu</a>) and PacketFence (<a href=3D"http://www.packetf=
ence.org" target=3D"_blank">www.packetfence.org</a>)<br>
<br>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href=3D"mailto:Pacemaker at oss.clusterlabs.org" ta=
rget=3D"_blank">Pacemaker at oss.clusterlabs.org</a><br>
<a href=3D"http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target=3D=
"_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><b=
r>
<br>
Project Home: <a href=3D"http://www.clusterlabs.org" target=3D"_blank">http=
://www.clusterlabs.org</a><br>
Getting started: <a href=3D"http://www.clusterlabs.org/doc/Cluster_from_Scr=
atch.pdf" target=3D"_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_f=
rom_Scratch.pdf</a><br>
Bugs: <a href=3D"http://bugs.clusterlabs.org" target=3D"_blank">http://bugs=
.clusterlabs.org</a><br>
</font></span></blockquote></div><br><br clear=3D"all"><br>-- <br>esta es m=
i vida e me la vivo hasta que dios quiera<br>

--f46d044784a79f5d5804befc621a--



More information about the Pacemaker mailing list