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

View solution in original post

Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!