<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 04/26/2016 09:09 PM, K Aravind
wrote:<br>
</div>
<blockquote
cite="mid:CAKcbShzwVomEZXpjSLEeP84nPTJuK_t4hvxzcNW58Yf3m3M7TA@mail.gmail.com"
type="cite"><span>Thank you for the quick responses :)</span>
<div>I starting to understand :)</div>
<div>One more quick question.</div>
<div>Let's say I have a 2 node cluster with stonith-enabled=false
and no quorum policy = ignore </div>
<div>And master-max=1</div>
<div>Now connection between nodes went down.</div>
<div>Now a split brain happened </div>
<div>So now both nodes are active </div>
<div>Now connetion came back again.</div>
<div>Now does pacemaker see that 2 nodes are active and since
master-max is 1 would it demote one of the nodes ?</div>
</blockquote>
Pacemaker will. But this is probably not gonna solve your problem as
the fact who is primary and who secondary<br>
(master/slave role in pacemaker-terms) doesn't say anything about
from which of the disks which part of the<br>
data is being taken. Primary just means that the drbd-device is
being accessed from that side (btw. can be on both<br>
sides provided you are using a filesystem that can cope with that).<br>
Although it is not recommended drbd can be configured to
automatically recover - by deletion of the changes on<br>
one side done during split-brain-phase.<br>
<a class="moz-txt-link-freetext" href="https://www.drbd.org/en/doc/users-guide-83/s-split-brain-notification-and-recovery">https://www.drbd.org/en/doc/users-guide-83/s-split-brain-notification-and-recovery</a><br>
<blockquote
cite="mid:CAKcbShzwVomEZXpjSLEeP84nPTJuK_t4hvxzcNW58Yf3m3M7TA@mail.gmail.com"
type="cite">
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="http://clusterlabs.org/mailman/listinfo/users">http://clusterlabs.org/mailman/listinfo/users</a>
Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
Getting started: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a class="moz-txt-link-freetext" href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a>
</pre>
</blockquote>
<br>
</body>
</html>