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
Revered Legend

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
Revered Legend

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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...