You can use autoscaling Feature to achieve this. We currently use it for 
balancing nodes within a Datacenter, but should also work with different AZ by 
providing a system property.







[https://solr.apache.org/guide/8\_7/solrcloud-autoscaling-policy-preferences.html\#place-replicas-based-on-a-system-property][https_solr.apache.org_guide_8_7_solrcloud-autoscaling-policy-preferences.html_place-replicas-based-on-a-system-property]







combine 3 AZ rules with 33% each .







[https://solr.apache.org/guide/8\_7/solrcloud-autoscaling-policy-preferences.html\#multiple-percentage-rules][https_solr.apache.org_guide_8_7_solrcloud-autoscaling-policy-preferences.html_multiple-percentage-rules]







Not totally sure if it works that way, but you can give it a try.







Regards,




Christian











\-------- Original-Nachricht --------
Am 15. Sept. 2021, 07:44, Walter Underwood schrieb:

>
>
>
> You need three data centers. We split our Zookeeper ensemble across three AWS 
> availability zones.
>
> sunder
>
> Sent from my iPad
>
> > On Sep 14, 2021, at 10:28 PM, HariBabu kuruva <[email protected]> 
> > wrote:
> >
> > Hi All,
> >
> > We have Solr cloud running on 10 nodes with Zookeeper running on 5 nodes.
> > They are running across 2 data centers.
> >
> > As part of high availability we would like to run solr so that it should
> > sustain even if one data center goes down.
> >
> > How can we achieve this approach as we need to maintain the Quorum rule for
> > Zookeepers.
> >
> > Please advise
> >
> > --
> >
> > Thanks and Regards,
> > Hari
> > Mobile:9790756568


[https_solr.apache.org_guide_8_7_solrcloud-autoscaling-policy-preferences.html_place-replicas-based-on-a-system-property]:
 
https://solr.apache.org/guide/8_7/solrcloud-autoscaling-policy-preferences.html#place-replicas-based-on-a-system-property
[https_solr.apache.org_guide_8_7_solrcloud-autoscaling-policy-preferences.html_multiple-percentage-rules]:
 
https://solr.apache.org/guide/8_7/solrcloud-autoscaling-policy-preferences.html#multiple-percentage-rules

Attachment: publickey - EmailAddress([email protected]) - 0xF0E154C5.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to