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
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, ...