Thanks, Walter

-----Original Message-----
From: Walter Underwood <wun...@wunderwood.org> 
Sent: Wednesday, September 12, 2018 10:41 AM
To: solr-user@lucene.apache.org
Subject: Re: how to access solr in solrcloud

Use a load balancer. It doesn’t have to be fancy, we use the Amazon ALB because 
our clusters are in AWS.

Zookeeper never handles queries. It coordinates cluster changes with the Solr 
instances.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)

> On Sep 12, 2018, at 6:38 AM, Gu, Steve (CDC/OD/OADS) (CTR) <c...@cdc.gov> 
> wrote:
> 
> Hi, all
> 
> I am upgrading our solr to 7.4 and would like to set up solrcloud for 
> failover and load balance.   There are three zookeeper servers (zk1:2181, 
> zk1:2182) and two solr instance solr1:8983, solr2:8983.  So what will be the 
> solr url should the client to use for access?  Will it be solr1:8983, the 
> leader?
> 
> If we  use solr1:8983 to access solr, what happens if solr1:8983 is down?  
> Will the request be routed to solr2:8983 via the zookeeper?  I understand 
> that zookeeper is doing all the coordination works but wanted to understand 
> how this works.
> 
> Any insight would be greatly appreciated.
> Steve
> 

Reply via email to