You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Florian Gleixner <fl...@redflo.de> on 2021/02/18 14:02:43 UTC

Autoscaling working Examples

Hi,

i'm trying ot get Autoscaling running, but i always get more and more
repicas. Some shards have two replicas, some have up to 7 Replicas
while the replicationFactor of the collection is 2. Is there a working
example, that keeps shard replicas distributed over 2 availability
zones with exactly one replica in every zone?

Florian  


RE: Autoscaling working Examples

Posted by Shane Brooks <sb...@municode.com>.
Hi Florian,
We have a Solr Cloud installation with 2 nodes, each in a separate Availability Zone. We run one shard for each collection, with replicationFactor set to 2 and autoAddReplica set to True. These are the only settings we make other than using our config set.

Typical settings for our collections:

Shard Count: 		1
configName		ourConfig
replicationFactor	2
maxShardsperNode	1
router: 			compositeId
autoAddReplicas:	True
 

Hope this helps,
Shane

-----Original Message-----
From: Florian Gleixner <fl...@redflo.de> 
Sent: Thursday, February 18, 2021 9:03 AM
To: solr-user@lucene.apache.org
Subject: Autoscaling working Examples

WARNING: This email originated from outside Municode. DO NOT CLICK on any attachments or links from unknown senders or unexpected emails. Always check the sender's display name and email address are correct before you communicate.

Hi,

i'm trying ot get Autoscaling running, but i always get more and more repicas. Some shards have two replicas, some have up to 7 Replicas while the replicationFactor of the collection is 2. Is there a working example, that keeps shard replicas distributed over 2 availability zones with exactly one replica in every zone?

Florian