None of the above. You simply start Solr on each node, then use the Collections API to create your collection. Solr will taker care of creating the individual replicas on each of the nodes with respect to the parameters you pass to the CREATE command.
Best, Erick On Fri, May 29, 2015 at 5:46 PM, Purohit, Sumit <sumit.puro...@pnnl.gov> wrote: > Sorry for this second email, but another problem of mine is : > when I copy sorl folder on each node and start them, should I run it as 1 > node cluster on each node and use the same name for collection ? OR I have to > create individual Shard on each node. > > Thanks for your help. > > Thanks > sumit > > -----Original Message----- > From: Purohit, Sumit > Sent: Friday, May 29, 2015 5:10 PM > To: solr-user@lucene.apache.org > Subject: RE: How to setup solr in cluster > > Thanks for the reply. > I have tried example cloud setup using the link I mentioned. > I am trying to setup solr on all 16 nodes + 1 external zookeeper on 1 of the > node. > That’s when I find out about Chef and Puppet. > > My problem is manually setting and start/stop solr does not seem that > efficient to me and I wanted to sought community's suggestion. > > Thanks > Sumit > > -----Original Message----- > From: Erick Erickson [mailto:erickerick...@gmail.com] > Sent: Friday, May 29, 2015 4:43 PM > To: solr-user@lucene.apache.org > Subject: Re: How to setup solr in cluster > > You really have to tell us more about what you mean. You have two problems to > solve > 1> putting Solr on all the nodes and starting/stopping it. Puppet or > Chef help here, although it's perfectly possible to do this manually. > 2> creating collecitons etc. For this you just need all your Solr > instances communicating with the Zookeeper you have set up. > > So tell us what you have tried and what you are having problems with and > perhaps we can offer more specific suggestions. > > Best, > Erick > > On Fri, May 29, 2015 at 4:40 PM, Purohit, Sumit <sumit.puro...@pnnl.gov> > wrote: >> Hi All, >> >> I am trying to setup solr on a cluster with 16 nodes. >> Only documentation I could find, talks about a local cluster which behaves >> like a "real" cluster. >> https://cwiki.apache.org/confluence/display/solr/Getting+Started+with+ >> SolrCloud >> >> I read about using tools like "Chef" or "Puppet" to configure solr on >> production level cluster. >> >> Does this group has any suggestion about what is the best way to set it up? >> >> Thanks >> Sumit Purohit