<br><br><div class="gmail_quote">On Wed, Jun 3, 2009 at 4:09 PM, Tony Lownds <span dir="ltr"><<a href="mailto:tony@pagedna.com">tony@pagedna.com</a>></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 style=""><br><div><div class="im"><div>On Jun 3, 2009, at 6:52 AM, Heiko wrote:</div><br><blockquote type="cite"><br><br><div class="gmail_quote">On Wed, Jun 3, 2009 at 3:43 PM, Heiko <span dir="ltr"><<a href="mailto:rupertt@gmail.com" target="_blank">rupertt@gmail.com</a>></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>On Wed, Jun 3, 2009 at 3:34 PM, Tony Lownds <span dir="ltr"><<a href="mailto:tony@pagedna.com" target="_blank">tony@pagedna.com</a>></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><div>I think you'll have to try it and see. I personally brought down xen, then restarted drbd </div><div>on both sides, then brought back xen during a downtime window. That worked well for me. </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> 0: cs:Connected st:Secondary/Primary ds:UpToDate/UpToDate A r---</div>
<div> 1: cs:Connected st:Secondary/Primary ds:UpToDate/UpToDate A r---</div><div> 2: cs:Connected st:Secondary/Primary ds:UpToDate/UpToDate A r---</div><div> 3: cs:Connected st:Secondary/Primary ds:UpToDate/UpToDate A r---</div>
<div></div></div></div></div></blockquote><div><br>Hi Tony,<br><br>it looks the same on my setup now.<br>I had one crash during these changes, and so I could first adjust the drbd and than start xen.<br>On another pair i did an adjust while the VM is running, nothing bad happend.<br>
<br>I hope we dont have anymore crashes...<br><br><br>greetings<br><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">
<div><div><div><br></div></div></div><font color="#888888">-Tony</font></div></blockquote></div><br>