Apache Nifi not working with multiple notes in zookeeper string
I want to setup cluster of 3 nodes. Suppose below are the 3 nodes,
- Node 1 = 192.168.0.10
- Node 2 = 192.168.0.20
- Node 3 = 192.168.0.30
I am able to setup the cluster by using below zookeeper string in the respective nodes,
- Node 1 = 192.168.0.10:2181
- Node 2 = 192.168.0.10:2181,192.168.0.20:2181
- Node 3 = 192.168.0.10:2181,192.168.0.20:2181,192.168.0.30:2181
If Node 1 is up and running and I am turning of any other node than Node 1, then cluster is working without any issue.
But problem with above configuration is, if I am turning off the Node 1 (192.168.0.10), then cluster is failing with the connection loss status. As Node 2 and Node 3 waiting for Node 1 which is down which turns into cluster failure.
So I am trying to setup same zookeeper string for all the node at once and trying to start server one by one.
- Node 1 = 192.168.0.10:2181,192.168.0.20:2181,192.168.0.30:2181
- Node 2 = 192.168.0.10:2181,192.168.0.20:2181,192.168.0.30:2181
- Node 3 = 192.168.0.10:2181,192.168.0.20:2181,192.168.0.30:2181
So now Node 2 and Node 3 is already down (like never started). And I am trying to start Node 1 with zookeeper string "192.168.0.10:2181,192.168.0.20:2181,192.168.0.30:2181".
Node 1 not starting it all.
I am kind of new to the Nifi and working on clustering part. I am able to achieve all the clustering activity by taking reference of available resources and by doing some POC work. But only this is problem where I stuck and not able to move ahead.
I am using SSL Nifi Clustering. Can anyone please help me out with this ? Thanks in advance.

