lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Susmit Shukla <shukla.sus...@gmail.com>
Subject Solr cloud setup question
Date Mon, 22 Sep 2014 19:45:28 GMT
Hi solr experts,

I am building out a solr cluster with this configuration

3 external zookeeprs
15 solr instances (nodes)
3 shards

I need to start out with 3 nodes and remaining 12 nodes would be added to
cluster. I am able to create a collection with 3 shards. This process works
fine using collections create API.
The core directory is automatically created by solr -
multishard_shard1_replica1, multishard_shard2_replica1 etc with
core.properties file containing shard and replica info

However, when I add new machines running solr and pointing to this zk
cluster, they do not get added as replicas. The new machines have solr.home
directory available but no core specific directories beneath it since I
want solr to auto add as replica.
If I create the directories manually beneath solr.home named
multishard_shard2_replica2, multishard_shard2_replica3 and so on and
provide core.properties file, they are correctly added to the cloud as
replicas.

Is there a way to automatically do it? since solr documentation says so..

https://cwiki.apache.org/confluence/display/solr/Nodes%2C+Cores%2C+Clusters+and+Leaders
in Leaders and Replicas section

Thanks,
Susmit

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message