Deployment Architecture

Can we deploy, using deployment server, an app with state disabled?

somesoni2
Revered Legend

Hi There,

I have a failover instance of Splunk and an app with scheduled searches with summary indexing enabled. My requirement is that the scheduled search of app in failover instance should be disabled state, to avoid duplicate data as prod version is also running. During failover, we can manually enable the scheduled searches on failover.

One simple solution that I reached to (for minimal manual work during failover) is that to deploy the app as disabled in failover instance and just enable the app during failover.

Can anyone help me confirm if this will work, deploying an app with state as disabled using deployment server?

0 Karma
1 Solution

mloven_splunk
Splunk Employee
Splunk Employee

Yep. Take a look at this option in serverclass.conf:

stateOnClient = enabled | disabled | noop
    * If set to "enabled", sets the application state to enabled on the client, regardless of state on the deployment server.
    * If set to "disabled", set the application state to disabled on the client, regardless of state on the deployment server.
    * If set to "noop", the state on the client will be the same as on the deployment server.
    * Can be overridden at the serverClass level and the serverClass:app level.
    * Defaults to enabled.

View solution in original post

mloven_splunk
Splunk Employee
Splunk Employee

Yep. Take a look at this option in serverclass.conf:

stateOnClient = enabled | disabled | noop
    * If set to "enabled", sets the application state to enabled on the client, regardless of state on the deployment server.
    * If set to "disabled", set the application state to disabled on the client, regardless of state on the deployment server.
    * If set to "noop", the state on the client will be the same as on the deployment server.
    * Can be overridden at the serverClass level and the serverClass:app level.
    * Defaults to enabled.

somesoni2
Revered Legend

Wow, I must be half asleep not to see this...Thanks a lot...

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...