Re: Spread Zookeeper nodes from one datacenter to two datacenters

2023-07-24 Thread Ruel, Ryan
Josef, Consider your redundancy model carefully. 3 voting (participant) nodes are required for quorum, however given the 2N+1 redundancy model, this means that you can lose one node and continue to function. If a second node is lost, you will lose quorum. It’s recommended to have 5

Re: Spread Zookeeper nodes from one datacenter to two datacenters

2023-07-24 Thread Josef.Zahner1
I wasn’t aware of the observer concept. I just read the documentation about it, but I’m not 100% whether I’m getting it right. The document tells that observers are non-voting members, but do observer extend the quorum or not? Because, you said you would do 1 observer per location, but what

Re: Spread Zookeeper nodes from one datacenter to two datacenters

2023-07-24 Thread shrikant kalani
I don’t think you need a third data Center. You can still go with 2 DC with 3 and 2 ZK nodes. A cluster with 5 nodes. You can keep 1 node in each dc as observer node. This will make sure only 3 nodes are participating in leader election process and hence a quorum of 3 will work. On Mon, 24 Jul

Spread Zookeeper nodes from one datacenter to two datacenters

2023-07-24 Thread Josef.Zahner1
Hi guys Today we have just one datacenter with a few NiFi clusters, so we use a dedicated 3-node zookeeper cluster in that datacenter. We are now planning to expand to another datacenter, so we would like to split the NiFi nodes as well as zookeeper nodes to the two datacenters. However 2