Monitoring Splunk

Setup a cluster without replication - ERROR ClusteringMgr

devights6749
Engager

I'm trying to set up a cluster with three nodes, one that will function as the master/search head and two indexers. I do not want to replicate data between the indexers. However, when I enable clustering on the master node and set replication factor = 0 and search factor = 0, splunkd won't start with the following error:
ERROR ClusteringMgr - Failure to load cluster config (server.conf) Error = origin has an invalid count:0. .

Setting replication and search factors to 1 will allow splunkd to start successfully. Based on my testing it doesn't seem possible to have a cluster without replication, but I can't find any documentation that confirms my suspicion. Should this be possible?

0 Karma
1 Solution

dxu_splunk
Splunk Employee
Splunk Employee

0 means no copies of a bucket, which makes no sense. you need to have at least 1 copy of your data (it won't be replicated). repfactor=2 means two copies, so there will be one replicated copy

View solution in original post

dxu_splunk
Splunk Employee
Splunk Employee

0 means no copies of a bucket, which makes no sense. you need to have at least 1 copy of your data (it won't be replicated). repfactor=2 means two copies, so there will be one replicated copy

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Request for Professional Development: Attending .conf26

Winning Over the Boss: Your Pass to .conf26 conf26 is going to be here before you know it. If don't already ...

Casting Call: Compete in Cyber Games

Lights, Camera, SecOps: Apply to Compete in Cyber Games     Think you have what it takes to beat the clock? ...