Solrcloud hosting

2016-01-17 Thread Pranaya Behera

Hi,
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 ?

--
Thanks & Regards
Pranaya Behera



Re: Solrcloud hosting

2016-01-17 Thread Erick Erickson
Point to any one of them, there's an internal load balancer that
should distribute sub-requests.
That said, this is a single point of failure. People usually put a
hardware load balancer in
front of a setup like this.

Depending on how you access, a SolrJ client that uses the
CloudSolrClient class that takes
a Zookeeper ensemble string and uses the internal (software) load
balancer to send queries
to various nodes in the system.

Best,
Erick

On Sun, Jan 17, 2016 at 1:43 PM, Pranaya Behera  wrote:
> Hi,
> 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 ?
>
> --
> Thanks & Regards
> Pranaya Behera
>


Re: Solrcloud hosting

2016-01-17 Thread Shawn Heisey
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



Re: Solrcloud hosting

2016-01-17 Thread Saulabiu Baba Akinlolu
Unsubscribe


   Shawn Heisey --- Re: Solrcloud hosting --- 
From:"Shawn Heisey" To:"" 
Date:Sun, Jan 17, 2016 9:39 PMSubject:Re: 
Solrcloud hosting
  
 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