Hi Erick, Thanks for your reply, but I did used the ADD REPLICA api at the first. However, since the newly added Sold node is down, it throws Exception " One of the nodes is down" and hence the operation fails.
I noticed that the node becomes GREEN only after adding the core via Admin UI. Also, I am using docker containers on AWS machines to have multiple solr instances running inside them. I was trying to test what will happen if one of the docker containers exit and I realized this issue. Thanks Deeksha ________________________________________ From: Erick Erickson <erickerick...@gmail.com> Sent: Friday, July 01, 2016 12:58 PM To: solr-user Subject: Re: SolrCloud Node fails that was hosting replicas of a collection Please do _not_ use the admin UI core creating screen when dealing with SolrCloud. It can work, but you have to get everything exactly right. Instead, you should be using the ADDREPLICA command from the Collections API, see: https://cwiki.apache.org/confluence/display/solr/Collections+API Although I do have to ask why the Solr node is going down. If it's not something permanent, the replicas should return to green after the node is re-started. There are plans to provide a screen in the new Admin UI to allow you to add replicas to a collection and the like, but that code hasn't been added yet. Best, Erick On Fri, Jul 1, 2016 at 12:18 PM, Deeksha Sharma <dsha...@palamida.com> wrote: > Currently I am building a SolrCloud cluster with 3 Zookeepers (ensemble) and > 4 solr instances. Cluster is hosting 4 collections and their replicas. > > > When one Solr node say Solr1 goes down (hosting 2 replicas of collection1 and > collection2), I add a new node to the cluster and that node in Admin UI is > brown in color which means the new node is down. > > > When I create the core on Admin UI to this new solr instance (these cores are > the 2 replicas that Solr1 was hosting) , the new node becomes green (up and > running). > > > Am I doing the right thing by adding the new node and adding cores to it via > Admin UI or there is a better way of doing this? > > > Should Solr automatically host those 2 replicas to the newly added node or we > have to manually add cores to it? > >