Deployment Architecture

Multisite Indexer Clustering

jeffbat
Path Finder

I am looking at possible setting up multisite indexer clustering on some new indexers we are setting up. We have 2 indexers each in 2 sites.

If I wanted 1 copy of data to stay in the site and a replicated copy to be in the other site, would I just need to set the site replication value to this:

available_sites=site1,site2
site_replication_factor = origin:1,total:2

From reading the document on multisite indexer clustering, I see this line and assume that the above setting would force 1 copy on the originating site and since the other site does not have a copy it would push the required replicated copy to that site.

Because the total value can be greater than the total set of explicit values, the cluster needs a strategy to handle any "remainder" bucket copies. Here is the strategy:
If copies remain to be assigned after all site and origin values have been satisfied, those remainder copies are distributed across all sites, with preference given to sites with less or no copies, so that the distribution is as even as possible. Assuming that there are enough remainder copies available, each site will have at least one copy of the bucket.

Is my assumption correct?

0 Karma
1 Solution

somesoni2
SplunkTrust
SplunkTrust

That is correct. With origin (say site1) is fullfilled, there will be one remainder copy left which will be assigned to site2 as it has no copies of that data bucket. This is much simpler as there are only two sites involved.

View solution in original post

deepashri_123
Motivator

Hey jeffbat,

Yes you are correct.
available_sites=site1,site2
site_replication_factor = origin:1,total:2
This setting will keep replication across sites and primary copy at which the data is indexed.

All the best with your setup!!

0 Karma

somesoni2
SplunkTrust
SplunkTrust

That is correct. With origin (say site1) is fullfilled, there will be one remainder copy left which will be assigned to site2 as it has no copies of that data bucket. This is much simpler as there are only two sites involved.

jeffbat
Path Finder

Thanks for the confirmation!

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...