Deployment Architecture

How to replicate index to all the slave indexers?

vikcee
Path Finder

I have created a 5 node index cluster and its working fine. Now I created an index in master indexer and added some data. But I am not able to replicate that index to all the slave indexer.
I added repFactor = auto to my indexes.conf file in /opt/splunk/etc/apps/search/local/ directory. but not working then I created a same file in /opt/splunk/etc/system/local as well, But again its not working. Can someone suggest where I am doing wrong.

Below is my indexes.conf file

[test]
coldPath = $SPLUNK_DB/test/colddb
enableDataIntegrityControl = 0
enableTsidxReduction = 0
homePath = $SPLUNK_DB/test/db
maxTotalDataSizeMB = 512000
thawedPath = $SPLUNK_DB/test/thaweddb
repFactor = auto
1 Solution

iammusa18
Engager

Hi,
1. You should never make cluster related edits under /system/local
2. Your indexes.conf file shouldn't be in '/opt/splunk/etc/apps/search/local' but instead in /etc/master-apps folder on the cluster master.

All configs to slave indexers MUST be pushed from /etc/master-apps and the recieving slaves will save those configs (indexes.conf, props.conf etc) under /etc/slave-apps.

Please check your configs and you will see that your test index will be there once you get your directory strucutre sorted.

HTH

View solution in original post

0 Karma

iammusa18
Engager

Hi,
1. You should never make cluster related edits under /system/local
2. Your indexes.conf file shouldn't be in '/opt/splunk/etc/apps/search/local' but instead in /etc/master-apps folder on the cluster master.

All configs to slave indexers MUST be pushed from /etc/master-apps and the recieving slaves will save those configs (indexes.conf, props.conf etc) under /etc/slave-apps.

Please check your configs and you will see that your test index will be there once you get your directory strucutre sorted.

HTH

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...