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!

Bridging the Gap: Splunk Helps Students Move from Classroom to Career

The Splunk Community is a powerful network of users, educators, and organizations working together to tackle ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...