RE: how to access solr in solrcloud

2018-09-13 Thread Gu, Steve (CDC/CDC OD/OADS) (CTR)
That makes sense. CloudSolrClient accepts a list of zookeepers. It works beautifully. Thanks Steve -Original Message- From: Walter Underwood Sent: Thursday, September 13, 2018 10:55 AM To: solr-user@lucene.apache.org Subject: Re: how to access solr in solrcloud Use direct

Re: how to access solr in solrcloud

2018-09-13 Thread Walter Underwood
--Original Message- > From: Florian Gleixner > Sent: Wednesday, September 12, 2018 6:27 PM > To: solr-user@lucene.apache.org > Subject: Re: how to access solr in solrcloud > > On 9/12/18 8:21 PM, Shawn Heisey wrote: >> On 9/12/2018 7:38 AM, Gu, Steve (CDC/OD/OADS) (CTR) wro

Re: how to access solr in solrcloud

2018-09-13 Thread Shawn Heisey
On 9/13/2018 6:23 AM, Gu, Steve (CDC/OD/OADS) (CTR) wrote: Hi, Florian We need to pass zookeeper url to CloudSolrClient. Since there are multiple zk servers, is it the common practice to set a proxy server in front of zookeeper? ZooKeeper should not be behind a load balancer.  Your client sh

RE: how to access solr in solrcloud

2018-09-13 Thread Gu, Steve (CDC/OD/OADS) (CTR)
PM To: solr-user@lucene.apache.org Subject: Re: how to access solr in solrcloud On 9/12/18 8:21 PM, Shawn Heisey wrote: > On 9/12/2018 7:38 AM, Gu, Steve (CDC/OD/OADS) (CTR) wrote: >> I am upgrading our solr to 7.4 and would like to set up solrcloud for >> failover and load balan

Re: how to access solr in solrcloud

2018-09-12 Thread Florian Gleixner
On 9/12/18 8:21 PM, Shawn Heisey wrote: > On 9/12/2018 7:38 AM, Gu, Steve (CDC/OD/OADS) (CTR) wrote: >> 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, s

Re: how to access solr in solrcloud

2018-09-12 Thread Shawn Heisey
On 9/12/2018 7:38 AM, Gu, Steve (CDC/OD/OADS) (CTR) wrote: 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

RE: how to access solr in solrcloud

2018-09-12 Thread Gu, Steve (CDC/OD/OADS) (CTR)
Vadim, That makes perfect sense. Thanks Steve -Original Message- From: Vadim Ivanov Sent: Wednesday, September 12, 2018 10:23 AM To: solr-user@lucene.apache.org Subject: RE: how to access solr in solrcloud Hi, Steve If you are using solr1:8983 to access solr and solr1 is down IMHO

RE: how to access solr in solrcloud

2018-09-12 Thread Gu, Steve (CDC/OD/OADS) (CTR)
Thanks, Walter -Original Message- From: Walter Underwood 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

RE: how to access solr in solrcloud

2018-09-12 Thread Gu, Steve (CDC/OD/OADS) (CTR)
Thanks, David -Original Message- From: David Santamauro Sent: Wednesday, September 12, 2018 10:28 AM To: solr-user@lucene.apache.org Cc: David Santamauro Subject: Re: how to access solr in solrcloud ... or haproxy. On 9/12/18, 10:23 AM, "Vadim Ivanov" wrote: Hi, St

Re: how to access solr in solrcloud

2018-09-12 Thread Walter Underwood
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

Re: how to access solr in solrcloud

2018-09-12 Thread David Santamauro
... or haproxy. On 9/12/18, 10:23 AM, "Vadim Ivanov" wrote: Hi, Steve If you are using solr1:8983 to access solr and solr1 is down IMHO nothing helps you to access dead ip. You should switch to any other live node in the cluster or I'd propose to have nginx as frontend to

RE: how to access solr in solrcloud

2018-09-12 Thread Vadim Ivanov
Hi, Steve If you are using solr1:8983 to access solr and solr1 is down IMHO nothing helps you to access dead ip. You should switch to any other live node in the cluster or I'd propose to have nginx as frontend to access Solrcloud. -- BR, Vadim -Original Message- From: Gu, Steve (CDC