On 1/17/2016 2:43 PM, Pranaya Behera wrote: > I have 1 zookeeper server and 3 solr servers. I want to access the > search end point which solr server's url i should try ? > And is there anyway to assign one domain for this solrcloud and how ?
Adding on to Erick's reply: If you want zookeeper to be redundant, you must have at least three of them, and an odd number is recommended. With three servers, one can fail with no change in operation. Five servers offers an additional level of redundancy -- you can take a server down for maintenance, and the cluster can still survive a secondserver going down. I was writing this message while Erick was composing his reply. He got his finished first. It says much the same thing: To always access SolrCloud with a single hostname even when there's a failure, you need a load balancer, and the load balancer should also be redundant. If your client code is Java, there is an alternate option: the CloudSolrClient object in SolrJ. This client discovers the cloud via Zookeeper, and is constantly aware of the clusterstate. Thanks, Shawn