Multiple Solr environments with one Zookeeper ensemble -


we have 2 solr environments in production. 1 solr environment has latest 2 years data. other has last 10 years of archived data. @ moment, these 2 solr environments connect separate zookeeper ensembles.

the collections have same name & configuration in both solr environments. want reduce number of servers zookeeper.

is feasible have both solr environments in production connect 1 zookeeper ensemble without overwriting configs each other? or mandatory have separate zookeeper ensemble each solr environment?

you can use same zookeeper ensemble handle more 1 solr or solrcloud instance.

however, data must kept separate. (probably) best done using "chroot" functionality in zookeeper.

essentially, when create "space" in zookeeper solr instance, append /some_thing_unique , keep in appropriate config files in solr - should have no trouble.

i haven't experienced moving existing solr instance 1 zookeeper - i'd guess have take solr down, change configs, set collection etc.. in zookeeper, , restart solr. sure i'd worked out in test environment before doing live.

hope helps...

oh, here's how did when creating collection "new" in zookeeper... you'll note gave name (the name of collection) noting version of solr using. allows me install later versions of solr , move collection later version , keep in same zookeeper ensemble...

/opt/solr/server/scripts/cloud-scripts/zkcli.sh -zkhost 10.196.12.103,10.196.12.104,10.196.22.103 -cmd makepath /mycollectionname_solr6_2


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -