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

.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!