Hi,

Your plan is not possible. You can compare it to a RAID0 or RAID1. RAID0 is 2 shards/1replica. You have it stripped, not mirrored.

You just can update both solr at the same time (don't forget to backup your data).

Another way would be to to increase the replicafactor to 2, so you have each shard replicated on the other host. I'm not sure if that work on only 2 SOLR, but it should.

Mit freundlichem Gruß / kind regards

Wolfgang Freudenberger
Pure Host IT-Services
Münsterstr. 14
48341 Altenberge
GERMANY
Tel.: (+49) 25 71 - 99 20 170
Fax: (+49) 25 71 - 99 20 171

Umsatzsteuer ID DE259181123

Informieren Sie sich über unser gesamtes Leistungsspektrum unter 
www.pure-host.de
Get our whole services at www.pure-host.de

Am 26.04.2019 um 14:10 schrieb Sadiki Latty:
I don't have any replicas the 2 Solr instances are both leaders and are split 
between the two.

-----Original Message-----
From: Jörn Franke <jornfra...@gmail.com>
Sent: Thursday, April 25, 2019 5:15 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr Cloud configuration

Are the replicas on the other node?

Am 25.04.2019 um 22:44 schrieb Sadiki Latty <sla...@uottawa.ca>:

Hi,

I am doing some testing with Solr Cloud and I have a couple questions.
Consider this config:

-          2 Solr instances

-          3 ZK instances (2 of which are co-located on the same server as the 
2 solr servers)

-          numShards 2

-          replica 1

If I need to upgrade Solr, the recommended method is to update one at a time. However, 
when I bring down one Solr instance I noticed that queries no longer work and I get the 
error "no servers hosting shard" from the node that is up. After some research 
I am wondering if this is happening because of the shard configuration. Is there any way 
for me to do an upgrade without any/siginificant downtime?

For example: Is it possible to put everything on 1 node, bring the node down, 
update the downed node bring it back up, wait for it to mirror then do the same 
to the other node?

Thanks,
Sid


Reply via email to