<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
><br>
> Hi All,<br>
><br>
> I'm running Pacemaker on Centos7<br>
> Name : pcs<br>
> Version : 0.9.169<br>
> Release : 3.el7.centos.3<br>
> Architecture: x86_64<br>
><br>
><br>
> I'm performing some cluster failover tests in a 3 node cluster. We have 3 resources in the cluster.<br>
> I was trying to see if I could get it working if 2 nodes fail at different times. I'd like the 3 resources to then run on one node.<br>
><br>
> The quorum options I've configured are as follows<br>
> [root@node1 ~]# pcs quorum config<br>
> Options:<br>
> auto_tie_breaker: 1<br>
> last_man_standing: 1<br>
> last_man_standing_window: 10000<br>
> wait_for_all: 1<br>
><br>
> [root@node1 ~]# pcs quorum status<br>
> Quorum information<br>
> ------------------<br>
> Date: Wed Aug 30 11:20:04 2023<br>
> Quorum provider: corosync_votequorum<br>
> Nodes: 3<br>
> Node ID: 1<br>
> Ring ID: 1/1538<br>
> Quorate: Yes<br>
><br>
> Votequorum information<br>
> ----------------------<br>
> Expected votes: 3<br>
> Highest expected: 3<br>
> Total votes: 3<br>
> Quorum: 2<br>
> Flags: Quorate WaitForAll LastManStanding AutoTieBreaker<br>
><br>
> Membership information<br>
> ----------------------<br>
> Nodeid Votes Qdevice Name<br>
> 1 1 NR node1 (local)<br>
> 2 1 NR node2<br>
> 3 1 NR node3<br>
><br>
> If I stop the cluster services on node 2 and 3, the groups all failover to node 1 since it is the node with the lowest ID<br>
> But if I stop them on node1 and node 2 or node1 and node3, the cluster fails.<br>
><br>
> I tried adding this line to corosync.conf and I could then bring down the services on node 1 and 2 or node 2 and 3 but if I left node 2 until last, the cluster failed<br>
> auto_tie_breaker_node: 1 3<br>
><br>
> This line had the same outcome as using 1 3<br>
> auto_tie_breaker_node: 1 2 3<br>
><br>
> So I'd like it to failover when any combination of two nodes fail but I've only had success when the middle node isn't last.<br>
><br>
<br>
Use fencing. Quorum is not a replacement for fencing. With (reliable)<br>
fencing you can simply run pacemaker with no-quorum-policy=ignore.<br>
<br>
The practical problem is that usually the last resort that will work<br>
in all cases is SBD + suicide and SBD cannot work without quorum.<br>
<br></blockquote><div>Ah I forgot to mention I do have fencing setup, which connects to Vmware Virtualcenter. <br>Do you think it's safe to set that no-quorum-policy=ignore?<br>Thanks<br>David</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br><br>
**************************************<br>
</blockquote></div></div>