Automatically reduce quorum nodes after partial cluster shutdown

pagalba-com

Member
May 15, 2023
14
7
8
Hello,

From what I see, the corosync uses max number of cluster nodes+1 as a quorum for the cluster. So in 11 node cluster, 6 is the quorum.
This is logically ok, but in real life scenarios, I need to have part or cluster to shutdown, and if shut down part is 5, then one more node and cluster looses quorum.

I wonder, if there is mechanizm, that would decrease quorum, when nodes are shutdown gracefully, and stay off more that let say one hour?

So, that long term shutdown of 4 nodes, results in 7 active nodes in the cluster, and quorum would readjust to 4?
 
Last edited:
I wonder, if there is mechanizm, that would decrease quorum, when nodes are shutdown gracefully, and stay off more that let say one hour?
AFAIK, nothing automatic and how can corosync know what you want to do with your cluster ... you need to do it manually by setting the expected votes:

Code:
pvecm expected <number>
 
  • Like
Reactions: pagalba-com