Refine your search:

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.

asked 09 Jan, 08:19

imacdonald2's gravatar image

imacdonald2
1022
accept rate: 40%


One Answer:

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.

link

answered 09 Jan, 08:33

dwaddle's gravatar image

dwaddle ♦
11.2k1516
accept rate: 34%

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.

(09 Jan, 08:48) imacdonald2

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.

(09 Jan, 09:09) dwaddle ♦
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×100
×34
×18

Asked: 09 Jan, 08:19

Seen: 205 times

Last updated: 09 Jan, 09:09

Copyright © 2005-2012 Splunk, Inc. All rights reserved.