<br><br><div class="gmail_quote">On Thu, Dec 20, 2012 at 12:25 AM, Felipe Gutierrez <span dir="ltr"><<a href="mailto:felipe.o.gutierrez@gmail.com" target="_blank">felipe.o.gutierrez@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Soni,<br><br>I did these configurations on my DRBD and the correct recovery of split-brain worked well.<br><a href="http://www.drbd.org/users-guide-8.3/s-configure-split-brain-behavior.html#s-split-brain-notification" target="_blank">http://www.drbd.org/users-guide-8.3/s-configure-split-brain-behavior.html#s-split-brain-notification</a><br>

<br>I believe that the article you sent to me is about split-brain on Corosync and it is different of split-brain of DRBD. I didn't understand well why yet.<br></blockquote><div><br></div><div>that article discuss about split brain on DRBD, i never heard about split brain in corosync. Configuring automatic recovery in solving split brain in DRBD is good, but there is still chance to lose some data. Depending on your system, i think it is better to have a linux bonding in network, to make the network link redundant, it's a better solution for network failure.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>But at least, my system worked :)<br><br>Thanks!<span class="HOEnZb"><font color="#888888"><br>Felipe</font></span><div class="HOEnZb">
<div class="h5"><br>
<br><div class="gmail_quote">On Wed, Dec 19, 2012 at 2:34 PM, Felipe Gutierrez <span dir="ltr"><<a href="mailto:felipe.o.gutierrez@gmail.com" target="_blank">felipe.o.gutierrez@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Soni, thanks for reply,<br><br>I understood that is not possible if I don't have a connection back-to-back (dedicated).<br>But I am thinking to create a script that do that for me.<br>The commands are describe here: <a href="http://www.hastexo.com/resources/hints-and-kinks/solve-drbd-split-brain-4-steps" target="_blank">http://www.hastexo.com/resources/hints-and-kinks/solve-drbd-split-brain-4-steps</a><br>


And these commands will do the role of an administrator network.<br><br>Do you think is possible?<br></blockquote></div></div></div></blockquote><div><br></div><div>i don't really understand about scripting, usually i use that command to manually resolve the split brain, if you think your data is crusial and you dont want to lose it by depending on DRBD's automatic recovery policy </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>Thanks<span><font color="#888888"><br>Felipe</font></span><div><div><br><br>
<div class="gmail_quote">On Wed, Dec 19, 2012 at 9:41 AM, Soni Maula Harriz <span dir="ltr"><<a href="mailto:soni.harriz@sangkuriang.co.id" target="_blank">soni.harriz@sangkuriang.co.id</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">cutting the communication link between the two nodes is not a valid failover scenario. both side will think that other nodes offline and become primary. and if you reconnect them, the splitbrain will happen. you can make the communication link redundant between the two nodes. maybe these articles can help :<div>



<a href="http://www.hastexo.com/blogs/martin/2012/07/11/failover-testing-some-technical-background" style="color:rgb(17,85,204);font-size:13px;font-family:arial,sans-serif" target="_blank">http://www.hastexo.com/blogs/martin/2012/07/11/failover-testing-some-technical-background</a></div>



<div><a href="http://www.drbd.org/users-guide-8.3/s-prepare-network.html" target="_blank">http://www.drbd.org/users-guide-8.3/s-prepare-network.html</a></div><div><br><div class="gmail_quote"><div><div>On Wed, Dec 19, 2012 at 6:21 PM, Felipe Gutierrez <span dir="ltr"><<a href="mailto:felipe.o.gutierrez@gmail.com" target="_blank">felipe.o.gutierrez@gmail.com</a>></span> wrote:<br>




</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hi everyone,<br><br>I have a scenario that I disconnect my primary from the network and the secondary assume, becaming primary. After this, I connect the younger primary, and both nodes became secondary(DRBD), or Slave on Pacemaker. It is because DRBD on younger Primary is Standalone and Outdated. It is a split-brain scenario.<br>





How do I make to my Pacemaker take care of that?<br>I read these <a href="http://www.drbd.org/users-guide-8.3/s-split-brain-notification-and-recovery.html" target="_blank">http://www.drbd.org/users-guide-8.3/s-split-brain-notification-and-recovery.html</a> , <a href="http://www.drbd.org/users-guide-8.3/s-configure-split-brain-behavior.html#s-automatic-split-brain-recovery-configuration" target="_blank">http://www.drbd.org/users-guide-8.3/s-configure-split-brain-behavior.html#s-automatic-split-brain-recovery-configuration</a> and I think I cannot configure only my DRBD resource. I believe I need to do something on my Pacemaker.<br>





I think Stonith is not a good idea too, because I can reconnect my younger primary machine.<br><br>Thanks in advance,<br>Felipe<span><font color="#888888"><br>-- <br><b>--<br>-- Felipe Oliveira Gutierrez<br>
-- <a href="mailto:Felipe.o.Gutierrez@gmail.com" target="_blank">Felipe.o.Gutierrez@gmail.com</a><br>
-- <a href="https://sites.google.com/site/lipe82/Home/diaadia" target="_blank">https://sites.google.com/site/lipe82/Home/diaadia</a></b><br>
</font></span><br></div></div>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br>
</div>
<br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><b>--<br>-- Felipe Oliveira Gutierrez<br>-- <a href="mailto:Felipe.o.Gutierrez@gmail.com" target="_blank">Felipe.o.Gutierrez@gmail.com</a><br>-- <a href="https://sites.google.com/site/lipe82/Home/diaadia" target="_blank">https://sites.google.com/site/lipe82/Home/diaadia</a></b><br>



</div></div></blockquote></div><br><br clear="all"><br>-- <br><b>--<br>-- Felipe Oliveira Gutierrez<br>-- <a href="mailto:Felipe.o.Gutierrez@gmail.com" target="_blank">Felipe.o.Gutierrez@gmail.com</a><br>-- <a href="https://sites.google.com/site/lipe82/Home/diaadia" target="_blank">https://sites.google.com/site/lipe82/Home/diaadia</a></b><br>


</div></div><br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br>