Re: Can the leader of a Zookeeper be specifically selected at startup?

2022-06-19 Thread Kezhu Wang
Hi, I think this could be achieved with help from `reconfig`[1]: * Configs all nodes with `standaloneEnabled=false`, `reconfigEnabled=true`. * Starts node-2 as sole quorum participant. * Now node-2 is the leader. You will see "No server failure will be tolerated. You need at least 3 servers”. *

Can the leader of a Zookeeper be specifically selected at startup?

2022-06-19 Thread Heller, George A III CTR (USA)
We have 3 Zookeeper nodes and would like node 2 to always be the leader unless node 2 goes down. IF node 2 goes down, then either node 1 or node 3 would be the leader. Can this be done? If so, how would this be done? smime.p7s Description: S/MIME cryptographic signature