Hi,

Hardcoding your zk server addresses is a key factor to stability in your 
cluster.
If this was some kind of magic, and the magic failed, EVERYTHING would come to 
a halt :)
And since changing ZK is something you do very seldom, I think it is not too 
hard to

1. push new solr.in.sh file to all nodes
2. restart all ndoes

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

> 26. jan. 2017 kl. 14.30 skrev David Michael Gang <michaelg...@gmail.com>:
> 
> Hi all,
> 
> 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?
> I wanted to hear from your expereince how to achieve this task effectively.
> 
> Thanks,
> David

Reply via email to