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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...