Hello! Take a look at http://wiki.apache.org/solr/SolrCloud - when creating a collection you can specify the maxShardsPerNode parameter, which allows you to control how many shards of a given collection is permitted to be placed on a single node. By default it is set to 1, try setting it to 2 when creating your collection.
-- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch > I am rephrasing my question, > Currently what i haev is Solr 8080 ->> Shard1 Shard2- Replica Solr 9090 ->> Shard 2 Shard 1 - Replica > Can we have something like Solr 8080 ->> Shard 1 , Shard 2 solr 9090 ->> Shard2-Replica , Shard1- Replica > On Thu, Aug 1, 2013 at 6:40 PM, Prasi S <prasi1...@gmail.com> wrote: >> Here when i create a single shard and a replica, then my shard will be on >> one server and replcia in teh other isn't ? >> >> >> On Thu, Aug 1, 2013 at 6:29 PM, Rafał Kuć <r....@solr.pl> wrote: >> >>> Hello! >>> >>> There is no master - slave in SolrCloud. You can create a collection >>> that has only a single shard and have one replica. When you send an >>> indexing request it will be forwarded to the leader shard (in your >>> case you want it to be the instance running on 8080), however >>> both Solr instances will accept indexing requests. >>> >>> -- >>> Regards, >>> Rafał Kuć >>> Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch >>> >>> > I have a requirement to set solrcloud with 2 instances of Solr( one on >>> 8080 >>> > and otehr on 9090 ports respectivey) and a Zookeeper ensembe( 3 modes). >>> > Can I have one solr instance as a Master and the other as a replcia of >>> the >>> > Master. >>> >>> > Because, when i set up a solrcloud and index to one of the solr running >>> on >>> > 8080, it automatically routes to 9090 solr also. >>> >>> > I need indexing only on 8080 and 9090 solr should be a replica of >>> 8080solr. >>> > Is this possible in Cloud.' >>> >>> > Pls guide me. >>> >>> >>