Deployment Architecture

What is the Best practice for stateOnClient parameter on deployment-server and clients ?

koshyk
Super Champion

hi folks
just wanted to get your view on large scale installations of Universal Forwarders and apps in them.
What do you prefer? To use the default value of stateOnClient = enabled OR to use noop ?

I can see pros & cons of both approaches, but just wanted to check if you have seen issues on large scale installations.
I'm more tending towards noop these days with restartIfNeeded option, so all apps in the clients are in-line with master deployment-server. Any experience from you guys much appreciated.

0 Karma
1 Solution

sloshburch
Ultra Champion

Hi! It always depends on what your goal is. I typically don't mess with that option and leave it as default. I've always seen it more as a feature for disabling an app at scale without removing it.

Remember that using the restartIfNeeded has some dependencies (see reference: http://docs.splunk.com/Documentation/Splunk/latest/Admin/Serverclassconf).

What about normal DS use would imply the "clients would not be in-line with the master deployment server"? Are you referring to using multiple deployment servers (not recommended) or have I misunderstood the question?

View solution in original post

sloshburch
Ultra Champion

Hi! It always depends on what your goal is. I typically don't mess with that option and leave it as default. I've always seen it more as a feature for disabling an app at scale without removing it.

Remember that using the restartIfNeeded has some dependencies (see reference: http://docs.splunk.com/Documentation/Splunk/latest/Admin/Serverclassconf).

What about normal DS use would imply the "clients would not be in-line with the master deployment server"? Are you referring to using multiple deployment servers (not recommended) or have I misunderstood the question?

koshyk
Super Champion

I meant to say, clients would always follow status in deployment server. So if I disable in dep-server, it will disable in Client too without needing to worry about the stateofClient

0 Karma

sloshburch
Ultra Champion

Yea, so long as you're referring to the config within app.conf. Exceptions to this would be the apps that come installed with splunk, you probably don't want to mess with those. Are we saying the same thing?

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...