On 1/26/2017 6:30 AM, David Michael Gang wrote:
> I want to set up a solr cloud with x nodes and have 3 zookeepers servers.
> As i understand the following parties need to know all zookeeper servers:
> * All zookeeper servers
> * All solr cloud nodes
> * All solr4j cloud smart clients
>
> So let's say if i make it hard coded and then want to add 2 zookeeper
> nodes, I would have to update many places. This makes it hard to maintain
> it.
> How do you manage this? Is there a possibility to get the list of zookeeper
> services dynamically? Any other idea?

ZK 3.5, which is currently in ALPHA state, will have dynamic cluster
membership.  This will mean that you can add/remove servers and
everything that is connected will adjust automatically.  All clients
(like Solr) and servers will need to be updated to the new version. 
Currently Solr uses ZK 3.4.6.

Even after Solr is updated to a 3.5 version of ZK and the code gets any
changes that might be required, the list of servers that Solr and SolrJ
clients *start* with might still need manual adjustment.  After the
upgrade to 3.5, if at least one of the servers in the start list is
correct, the rest might be discovered, but it's better to keep that list
current.

Thanks,
Shawn

Reply via email to