<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">+1<div>From the HA guide : </div><div><br></div><div><blockquote type="cite"><div>4 Steps to solve the Split-Brain</div><div><br></div><div>Manually choose a node which data modifications will be discarded. We call it the split brain victim. </div><div>Choose wisely, all modifications will be lost! When in doubt run a backup of the victim's data before you continue.</div><div><br></div><div>When running a Pacemaker cluster, you can enable maintenance mode. If the split brain victim is in Primary role, bring down all applications using this resource. </div><div>Now switch the victim to Secondary role:</div><div><br></div><div>victim# drbdadm secondary resource</div><div>victim# drbdadm disconnect resource</div><div>victim# drbdadm -- --discard-my-data connect resource</div><div><br></div><div>for DRBD 8.4.x:</div><div>victim# drbdadm connect --discard-my-data resource</div><div><br></div><div>Resync will start automatically if the survivor was in WFConnection network state. </div><div>If the split brain survivor is still in Standalone connection state, reconnect it:</div><div>survivor# drbdadm conn</div></blockquote> :)</div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; font-family: 'Lucida Grande'; border-spacing: 0px; "><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Razique Mahroua</b></span><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; color: rgb(19, 112, 138); "><b> - </b></span><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Nuage & Co</b></span><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="font-weight: normal; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; "><font class="Apple-style-span" color="#13708a"><a href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></font></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; "><font class="Apple-style-span" color="#13708a">Tel : +33 9 72 37 94 15</font></div></span></span></span></span></span><br class="Apple-interchange-newline" style="color: rgb(0, 0, 0); font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span><img height="125" width="125" id="b9076d97-e58e-44b4-a8de-beb2eef00bda" apple-width="yes" apple-height="yes" src="cid:0A2450C8-6A0D-42D0-8035-743CAD564432@fabrique.lan"></span>
</div>
<br><div><div>Le 19 févr. 2013 à 09:51, Sébastien Han <<a href="mailto:han.sebastien@gmail.com">han.sebastien@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi,<div><br></div><div style="">If you stop the resource this is perfectly normal to get a resource diskless and unconfigured since you asked pacemaker to stop it. You just need to reconnect properly the resource 0 (guess it's the mysql one). For this, it's more or less the same operation as this one: <a href="http://www.drbd.org/users-guide-8.3/s-resolve-split-brain.html">http://www.drbd.org/users-guide-8.3/s-resolve-split-brain.html</a></div>

<div style=""><span style="font-size:13px;background-color:rgb(248,248,248);color:rgb(40,40,40);line-height:17px"><br></span></div><div style=""><span style="font-size:13px;background-color:rgb(248,248,248);color:rgb(40,40,40);line-height:17px">Cheers </span></div>

</div><div class="gmail_extra"><br clear="all"><div><div>--</div>Regards,<div>Sébastien Han.</div></div>
<br><br><div class="gmail_quote">On Tue, Feb 19, 2013 at 2:38 AM, Samuel Winchenbach <span dir="ltr"><<a href="mailto:swinchen@gmail.com" target="_blank">swinchen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_default" style="font-family:'courier new',monospace">Hi All,</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">


I recently switched from CentOS 6.3 to Ubuntu LTS server and have started encountering some really odd problems with drbd and pacemaker.   everything seems to work well until I stop a resource or migrate itl at which point drbd either becomes "Diskless" or "Unconfigured".  I am not sure what is happening but I never had this problem in CentOS.   </div>


<div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">pacemaker configuration:  <a href="http://paste2.org/p/2905943" style="font-family:arial" target="_blank">http://paste2.org/p/2905943</a></div>


<div class="gmail_default" style="font-family:'courier new',monospace">drbd configuration: <a href="http://paste2.org/p/2905965" style="font-family:arial" target="_blank">http://paste2.org/p/2905965</a></div><div class="gmail_default" style="font-family:'courier new',monospace">


<br></div><div class="gmail_default"><div class="gmail_default"><font face="courier new, monospace">syslog output: <a href="http://paste2.org/p/2905988" target="_blank">http://paste2.org/p/2905988</a></font></div><div class="gmail_default">


<font face="courier new, monospace">drbd state problems: </font><a href="http://paste2.org/p/2905951" target="_blank">http://paste2.org/p/2905951</a></div></div><div class="gmail_default"><div class="gmail_default"><font face="courier new, monospace"><br>


</font></div><div class="gmail_default"><font face="courier new, monospace"><br></font></div><div class="gmail_default"><font face="courier new, monospace">If someone could take a quick look at this I would be very grateful, I have been fighting this for a couple days now.</font></div>


<div class="gmail_default"><font face="courier new, monospace"><br></font></div><div class="gmail_default"><font face="courier new, monospace">Thanks,</font></div><div class="gmail_default"><font face="courier new, monospace">Sam  </font></div>


<div class="gmail_default"><font face="courier new, monospace"><br></font></div></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></body></html>