Deployment Architecture

Splunk Multisite Clustering

nehadoshi89
New Member

Hi,

I had a question about setting up a multisite cluster. I have two sites: site1 and site2. Per site we have one indexer each and one search Head each. We have one master node say in site one. Can this architecture be used to configure a multisite architecture? I need a replication factor of 2 and search factor of 2. So I had site replication_factor=origin:1,total:2. But this does not work. Any help on this?

Thanks.

0 Karma

mahamed_splunk
Splunk Employee
Splunk Employee

So you have 2 sites and one indexer in each site. Sure, this will work with origin:2,total:2 settings. What exactly do you mean by this doesn't work? Did you get an error message?

0 Karma

mahamed_splunk
Splunk Employee
Splunk Employee

Ok. It may be due to the fact that you have 1 indexer on each site but the (default) legacy replication factor is 3. Add the following to your config and restart master

replication_factor=1
search_factor=1

If this still doesn't work, could you post the error messages from splunkd log files?

0 Karma

nehadoshi89
New Member

Thank you. I tried origin:1, total:2 but the master node did not start up. If I try origin:2, total:3, then it says that search factor and replication factor not met because we do not have equivalent number of peers.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...