Why don't you create DNS names, or such, so that you can replace a zookeeper instance at the same hostname:port rather than having to edit solr.xml across your whole Solr farm?
The idea is that your list of zookeeper hostnames is a virtual one, not a real one. Upayavira On Wed, Sep 30, 2015, at 04:40 AM, pramodmm wrote: > > > Before we even think about upgrading the zookeeper functionality in > > Solr, we must wait for the official 3.5 release from the zookeeper > > project. Alpha (or Beta) software will not be included in Solr unless > > it is the only way to fix a very serious bug. This is a new feature, > > not a bug. > > In the meantime, please help me validate what we are doing is right. > Currently, our zookeeper instances are running on vmware machines and > when > one of them dies and we get a new machine as a replacement - we install > zookeeper and make it a part of the ensemble. Then we manually, go to > every > individual solr instance in the solr cloud - edit its solr.xml - remove > the > entry of the dead machine from zkhost and replace it with the new > hostname - > thus keeping the list up-to-date. Then, we restart solr box. > > Are these the right steps ? > > Thanks, > Pramod > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-4-8-Updating-zkhost-list-in-solr-xml-without-requiring-a-restart-tp4231979p4231994.html > Sent from the Solr - User mailing list archive at Nabble.com.