<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 3, 2009, at 6:52 AM, Heiko wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">On Wed, Jun 3, 2009 at 3:43 PM, Heiko <span dir="ltr">&lt;<a href="mailto:rupertt@gmail.com">rupertt@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Jun 3, 2009 at 3:34 PM, Tony Lownds <span dir="ltr">&lt;<a href="mailto:tony@pagedna.com" target="_blank">tony@pagedna.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div><br> On Jun 2, 2009, at 10:59 PM, Heiko wrote:<br> <br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hello,<br> <br> i am investigating why our server pairs reboot themselves from time to time.<br> This is very annoing because these machines are in production and i always<br> have to fix mysql replications or drbd splitbrains after these reboots.<br> <br> We have 3 pairs that use a drbd/xen/heartbeat setup and 2 of these pairs crash,<br> sometimes every 2 week sometimes only twice a year.<br> <br> I first thought it could be heartbeat, but I stopped the service on 1 pair and we also had a crash.<br> Are there other people who had these kind of crashes?<br> </blockquote> <br></div> Yes, sounds familiar... switching to protocol "A" is a workaround that helped for me.<br> <br> <a href="http://article.gmane.org/gmane.comp.linux.drbd/17684" target="_blank">http://article.gmane.org/gmane.comp.linux.drbd/17684</a><br><font color="#888888"> </font></blockquote></div></div><div>Hello Tony,<br><br>you are giving me hope, but I dont understand that post you linked.<br>I now have set to Protocoll to A.<br>Can I just run drbdadm adjust "resource" without getting any trouble/data los?<br></div></div></blockquote></div></blockquote><div><br></div><div>I think you'll have to try it and see. I personally brought down xen, then restarted drbd&nbsp;</div><div>on both sides,&nbsp;then brought back xen during a downtime window. That worked well for me.&nbsp;</div><div><br></div><div>You can see the current protocol in /proc/drbd near the end of the first line for each resource.</div><div><br></div><div><div># cat /proc/drbd | grep -w A</div><div>&nbsp;0: cs:Connected st:Secondary/Primary ds:UpToDate/UpToDate A r---</div><div>&nbsp;1: cs:Connected st:Secondary/Primary ds:UpToDate/UpToDate A r---</div><div>&nbsp;2: cs:Connected st:Secondary/Primary ds:UpToDate/UpToDate A r---</div><div>&nbsp;3: cs:Connected st:Secondary/Primary ds:UpToDate/UpToDate A r---</div><div><br></div></div></div>-Tony</body></html>