Deployment Architecture

Partial search head pooling

nocostk
Communicator

I have a two search heads - but they perform different tasks. One head is for running scheduled searches and the other is for interactive searches. I'd like to utilize search head pooling - but I don't want to share any of the savedsearches.conf files. Is this possible?

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

You can't "partially" pool. however, you can disable the scheduler on the one that isn't supposed to run jobs. @hdre did this, but did this in a dangerous way. The right way to do this is to stick this in default-mode.conf:

[pipeline:scheduler]
disabled_processors = LiveSplunks

This does the same thing as hdre suggested, but more safely (e.g., it won't get overwritten on a patch or upgrade).

0 Karma

hdre
New Member

This is probably not a supported way of handling this but we hacked this behavior by shutting off the scheduler search processor for the interactive search head and pooling with another search head that was left as the "job server". This job server would pick up and run scheduled searches while the interactive server could still be used to schedule searches. Not a perfect solution and there are other issues like trying to change scheduled search run times from the interactive search head.

See
.../etc/modules/internal/scheduler/config.xml

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

There is a better way to do this. See my answer.

0 Karma

msettipane
Splunk Employee
Splunk Employee

Search Head Pooling (SHP) is an all or nothing option at the moment. Once you enable it (splunk pooling enable ), it uses your SHP path for the "users" and "apps" folder.

However, since your users will not be logging into the other Search Head (Job Server) there should be no saved searches on that server to push to the SHP.

If you are using it for two distinctly different purposes, what reasons do you have for enabling SHP?

msettipane
Splunk Employee
Splunk Employee

Are there any road blocks that keep you from setting up SHP? What is the reason for not wanting saved searches on both servers?

0 Karma

nocostk
Communicator

I'd like to use SHP as a means of keeping my eventtypes.conf and tags.conf in sync. Sometimes it's a bit tiresome to continually ask developers to create their tags/eventtypes in both locations. If someone has any other ideas I'm all ears.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...