Installation

Can I use the same SPLUNK_DB directory for all 2 indexers and a search head?

shahk
Explorer

Hello,

I am going to set up Indexer clustering in Splunk, where I will user 2 indexer server, 1 search head, and a Splunk license manager.

Can I use the same Splunk_DB directory for all these Splunk servers?

Regards,
Krimesh

Labels (2)
0 Karma

aaraneta_splunk
Splunk Employee
Splunk Employee

@shahk - Looks like you have a few possible solutions to your question. If one of them provided a working solution, please don't forget to click "Accept" below the best answer to resolve this post. If you still need help, please leave a comment. Don’t forget to upvote anything that was helpful too. Thanks!

0 Karma

jtacy
Builder

You can use the same path on each of your servers provided they have independent underlying storage, but you can't put SPLUNK_DB on shared storage and allow all of the servers to use it. They each need their own directory.

0 Karma

gjanders
SplunkTrust
SplunkTrust

For indexer peers / index cluster members you will need to use a common Splunk DB location as the peers have identical configuration in terms of what is pushed from the cluster master server.

In other words the master-apps directory from the master becomes the slave-apps directory on each indexer...

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...