lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Walter Underwood <>
Subject Re: High Availability with two nodes
Date Tue, 26 Feb 2019 16:09:17 GMT
Yes, you need three Zookeeper nodes. You cannot have an HA Solr Cloud installation with only
two hosts. The Zookeeper hosts do not need to be large.

A master/slave configuration might be fine, but we need to know more before recommending that.

How many documents? How big are they? How fresh does the index need to be (time between repository
change and available to search)? How often does your source data change? How much downtime
is allowable to switch over?

Also, I have no idea what “DRBD” or “Pacemaker” means in this context.

Walter Underwood  (my blog)

> On Feb 26, 2019, at 7:25 AM, Andreas Mock <> wrote:
> Hi Walter,
> but I thought I need at least 3 zookeeper nodes? Is this not valid?
> I only have two servers. So, how can I have a two server SolrCloud
> installation? Am I missing something?
> Best regards
> Andreas
>> -----Ursprüngliche Nachricht-----
>> Von: Walter Underwood <>
>> Gesendet: Dienstag, 26. Februar 2019 16:14
>> An:
>> Betreff: Re: High Availability with two nodes
>> Solr Cloud automatically choose a leader and a follower.
>> I am not a fan of cold standby hosts, because you don’t really know
>> whether they work. You have two hosts, so keep them both hot, put a load
>> balancer in front of them, and send all the traffic to both of them all
>> the time. If one fails, you are still up.
>> wunder
>> Walter Underwood
>>  (my blog)
>>> On Feb 26, 2019, at 1:39 AM, Andreas Mock <>
>> wrote:
>>> Hi all,
>>> currently we are looking at Apache Solr as a solution
>>> for searching. One important component is high availability.
>>> I digged around finding out that HA is built in via
>>> SolrCloud which means I have to install ZooKeeper in
>>> a production environment which needs at least three
>>> nodes.
>>> So, now to my problem. I haven't found any documents
>>> showing a way to get a two node cluster simply for
>>> HA (active/passive).
>>> Is there a recommended way or are there any solutions
>>> out there showing a scenario with Solr Single Server
>>> combined e.g. DRBD and Pacemaker?
>>> Any hints and pointers are very welcome.
>>> Thank you in advance
>>> Andreas

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message