<div dir="ltr">Thanks Florian.<div><br></div><div style>The problem I have is that I'd like to define a HA configuration that isn't dependent on a specific set of fencing hardware (or any fencing hardware at all for that matter) and as the stack has the quorum capability included I'm hoping that this is an option.</div>
<div style><br></div><div style>I've not been able to find any quorum commands within pcs; the closest I've found is setting a node to "standby" but when I do that, it appears to have lost its quorum vote - this seems at odds with the help text....</div>
<div style><br></div><div style><div>standby <node></div><div> Put specified node into standby mode (the node specified will no longer be able to host resources</div><div><br></div><div style>Regards, Andrew.</div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 8 July 2013 10:23, Florian Crouzat <span dir="ltr"><<a href="mailto:gentoo@floriancrouzat.net" target="_blank">gentoo@floriancrouzat.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 08/07/2013 09:49, Andrew Morgan a écrit :<div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm attempting to implement a 3 node cluster where only 2 nodes are<br>
there to actually run the services and the 3rd is there to form a quorum<br>
(so that the cluster stays up when one of the 2 'workload' nodes fails).<br>
<br>
To this end, I added a location avoids contraint so that the services<br>
(including drbd) don't get placed on the 3rd node (drbd3)...<br>
<br>
pcs constraint location ms_drbd avoids drbd3.localdomain<br>
<br>
the problem is that this constraint doesn't appear to be enforced and I<br>
see failed actions where Pacemaker has attempted to start the services<br>
on drbd3. In most cases I can just ignore the error but if I attempt to<br>
migrate the services using "pcs move" then it causes a fatal startup<br>
loop for drbd. If I migrate by adding an extra location contraint<br>
preferring the other workload node then I can migrate ok.<br>
<br>
I'm using Oracle Linux 6.4; drbd83-utils 8.3.11; corosync 1.4.1; cman<br>
3.0.12.1; Pacemaker 1.1.8 & pcs 1.1.8<br>
<br>
</blockquote>
<br></div></div>
I'm no quorum-node expert but I believe your initial design isn't optimal.<br>
You could probably even run with only two nodes (real nodes) and no-quorum-policy=ignore + fencing (for data integrity) [1]<br>
This is what most (all?) people with two nodes clusters do.<br>
<br>
But if you really believe you need to be quorate, then I think you need to define your third node as quorum-node in corosync/cman (not sure how since EL6.4 and CMAN) and I cannot find a valid link. IIRC with such definition, you won't need the location constraints.<br>
<br>
<br>
[1] <a href="http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html/Clusters_from_Scratch/_perform_a_failover.html#_quorum_and_two_node_clusters" target="_blank">http://clusterlabs.org/doc/en-<u></u>US/Pacemaker/1.1-plugin/html/<u></u>Clusters_from_Scratch/_<u></u>perform_a_failover.html#_<u></u>quorum_and_two_node_clusters</a><span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
-- <br>
Cheers,<br>
Florian Crouzat<br>
<br>
______________________________<u></u>_________________<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/<u></u>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/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</font></span></blockquote></div><br></div>