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?
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.
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.
Wow, I must be half asleep not to see this...Thanks a lot...