lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: Solrcloud hosting
Date Mon, 18 Jan 2016 03:39:43 GMT
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.


View raw message