Re: Dynamic starting or stoping of zookeepers in a cluster

2021-02-24 Thread Shawn Heisey
On 2/24/2021 9:04 AM, DAVID MARTIN NIETO wrote: If I'm not mistaken the number of zookeepers must be odd. Having 3 zoos on 3 different machines, if we temporarily lost one of the three machines, we would have only two running and it would be an even number.Would it be advisable in this case

RE: Dynamic starting or stoping of zookeepers in a cluster

2021-02-24 Thread DAVID MARTIN NIETO
One doubt about it: In order to have a highly available zookeeper, you must have at least three separate physical servers for ZK. Running multiple zookeepers on one physical machine gains you nothing ... because if the whole machine fails, you lose all of those zookeepers. If you have three

Re: Dynamic starting or stoping of zookeepers in a cluster

2021-02-19 Thread Joe Lerner
This is solid information. *How about the application, which uses SOLR/Zookeeper?* Do we have to follow this guidance, to make the application ZK config aware: https://zookeeper.apache.org/doc/r3.5.5/zookeeperReconfig.html#ch_reconfig_rebalancing

Re: Dynamic starting or stoping of zookeepers in a cluster

2021-02-18 Thread Shawn Heisey
On 2/18/2021 8:20 AM, DAVID MARTIN NIETO wrote: We've a solr cluster with 4 solr servers and 5 zookeepers in HA mode. We've tested about if our cluster can mantain the service with only the half of the cluster, in case of disaster os similar, and we've a problem with the zookepers config and

Dynamic starting or stoping of zookeepers in a cluster

2021-02-18 Thread DAVID MARTIN NIETO
Hi all, We've a solr cluster with 4 solr servers and 5 zookeepers in HA mode. We've tested about if our cluster can mantain the service with only the half of the cluster, in case of disaster os similar, and we've a problem with the zookepers config and its static configuration. In the start