Deployment Architecture

Reduce the number of restarts when deploying to clients using deployment server

imacdonald2
Path Finder

At the back of my mind I remember reading something about reducing the need to do restarts when deploying apps. Can someone point me to the documentation about that? Does the deployment client automatically know to do a restart? For example do you need to do a restart if you add a new index?

When do you need to do

restartSplunkd=true

Most of my apps are simple input apps that have indexes, inputs and props and thats about it.

1 Solution

dwaddle
SplunkTrust
SplunkTrust

I set restartSplunkd=true on every app I deploy to forwarders -- mainly due to the fact that 99% of the configuration elements that forwarders use require a restart to take effect. When deploying to indexers / search heads it's a little less cut + dry. Adding indexes and inputs (as of Splunk 4.2) definitely fall into the "must restart" category.

View solution in original post

dwaddle
SplunkTrust
SplunkTrust

I set restartSplunkd=true on every app I deploy to forwarders -- mainly due to the fact that 99% of the configuration elements that forwarders use require a restart to take effect. When deploying to indexers / search heads it's a little less cut + dry. Adding indexes and inputs (as of Splunk 4.2) definitely fall into the "must restart" category.

dwaddle
SplunkTrust
SplunkTrust

In my deployment, I don't deploy to search heads (right now). But, it does make sense that it would blow away <app>/local when deploying a new version. If it didn't, then you couldn't be sure the new updates took effect properly. The whole idea of deployment server is uniformity, and letting each search head override in local is probably not the best choice.

0 Karma

imacdonald2
Path Finder

I am curious about you saying you deploy to search heads, I found that the deployment server wipes users settings in app/local/ when it deploys a new version.

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...