I have a Solr configuration that I am trying to replicate on several machines
as part of a package installation.  I have a cluster of machines that will
run the SolrCloud, with 3 machines in the cluster running a zookeeper
ensemble.  As part of the installation of each machine, Solr is started with
the desired configuration uploaded (java
-Dbootstrap_confdir=./solr/collection1/conf -Dcollection.configName=myconf
-DzkHost=ipaddress1:2181,ipaddress2:2181,ipaddress3:2181 -jar start.jar).

My problem is that when I add a new machine to my SolrCloud cluster, I
expect it to replicate data from the collections I have in SolrCloud.  This
doesn't appear to be happening.  Instead, each new machine just replicates
the default collection1 collection.  I'd added the collection in question
with this command:

http://localhost:8983/solr/admin/collections?action=CREATE&name=SolrCloudTest&numShards=1&replicationFactor=2&collection.configName=myconf

So my question is simple: Why is it that when I start a new Solr instance on
the same zookeeper ensemble, it does not replicate the data from the
SolrCloudTest collection, and instead only replicates collection1?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Replicating-from-the-correct-collections-in-SolrCloud-on-solr-start-tp4105754.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to