Deployment Architecture

With multi-site clustering, can I replicate per index?

a212830
Champion

As I prefer to upgrade to 6.3, I'm debating whether to use multi-site clustering. We don't currently replicate any data, but that could happen in the future, on a specific index level. Looking at this doc - http://docs.splunk.com/Documentation/Splunk/6.2.7/Indexer/Multisiteclusters , I'm wondering if replication is all or nothing at the clustering layer.

Does anyone know if you can specifically replicate per index with multi-site clustering?

0 Karma

lguinn2
Legend

Regardless of whether you do single-site clustering or multi-site clustering, you must always specify which indexes should be replicated.
Simply set up clustering, and then add the following in indexes.conf to each index that you want replicated:

repFactor=auto

Lucas_K
Motivator

In addition to the repFactor=auto comment you can actually disable replication per index by using repFactor=0 in each stanza.

This can be useful for cherry picking which indexes to replicate or not depending on your situation.

0 Karma

a212830
Champion

Thanks. My other question is, with multi-site clustering, if I do replicate, will it automatically be sent to another site? My guess is yes, and that's the whole purpose...

0 Karma

lguinn2
Legend

If you set up multi-site clustering, you must tell Splunk how many copies go to each of the sites.

Once set up, replication is automatic.

0 Karma

sloshburch
Splunk Employee
Splunk Employee

This page (and the one after) expose the settings that let you control how many copies are replicated at the origin site and how many at alternate sites (if any): http://docs.splunk.com/Documentation/Splunk/latest/Indexer/Sitereplicationfactor

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 ...