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!

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

Cisco Use Cases, ITSI Best Practices, and More New Articles from Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...