Splunk Search

Search Head Clustering SHC - Push config, restart myself?

daniel333
Builder

All,

Is there a way to push a config from a deployer to the search head cluster, then retart the members on my own time?

Background:
We currently have a 24 node search head cluster and are largely happy. Except we are not receiving complaints we restart too often. I was hoping I could restart them one at a time, waiting for the other to come into service before doing the next. A rolling restart so users won't be impacted as much. I see the rolling restart optipn for the SHC. But I don't see an option to push fro the deployer and wait.

Thanks

0 Karma
1 Solution

esix_splunk
Splunk Employee
Splunk Employee

When you push a configuration, it will enforce an automatic rolling restart. This is by design. If you're time constrained on maintenance windows, you should be pushing the configuration and restarting during that time window.

One thing you might consider is adjusting is the percent of SH's that are restarted during the rolling restart. By default, this value is 10% of the total number of SHs in the cluster. You could reduce this to maybe 5%...

http://docs.splunk.com/Documentation/Splunk/6.4.0/DistSearch/RestartSHC#Configure_the_number_of_memb...

View solution in original post

0 Karma

esix_splunk
Splunk Employee
Splunk Employee

When you push a configuration, it will enforce an automatic rolling restart. This is by design. If you're time constrained on maintenance windows, you should be pushing the configuration and restarting during that time window.

One thing you might consider is adjusting is the percent of SH's that are restarted during the rolling restart. By default, this value is 10% of the total number of SHs in the cluster. You could reduce this to maybe 5%...

http://docs.splunk.com/Documentation/Splunk/6.4.0/DistSearch/RestartSHC#Configure_the_number_of_memb...

0 Karma

jkat54
SplunkTrust
SplunkTrust

I'm trying to follow you here but it's a bit confusing.

Is it true that you want to do a delayed rolling restart? Perhaps you want to schedule the restart for 1am, etc?

0 Karma

jkat54
SplunkTrust
SplunkTrust

You can always schedule the restart via crontab for whatever time you like...

0 Karma
Get Updates on the Splunk Community!

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...