Deployment Architecture

Query on Deployment Server App Deployment

ppurokit
Path Finder

Hi All,

I have a deployment Server with 2 indexers and 1 search head.

I have developed an app which needs to be deployed to all these servers.

The app which i developed , should be in disabled state by default and hence in the default's folder "app.conf" i did the following

[install]
state = disabled

Couple of things i noticed in deployment:

1) When i restart my deployment server , automatically a file app.conf loads into the local folder.
2) When the app is deployed into the search head and indexers , the app is by default in Enabled state.

How to over come this issue ? So when i install the app, as i have defined , it should be in disabled state itself.

0 Karma
1 Solution

ppurokit
Path Finder

Hi All,

I sorted out this issue myself.

in the serverclass.conf file , there is an option which is enabled by default
StateOnClient = enabled.

For the app which i have created i added the following:

[serverClass::app:]
stateOnClient = disabled

View solution in original post

ppurokit
Path Finder

Hi All,

I sorted out this issue myself.

in the serverclass.conf file , there is an option which is enabled by default
StateOnClient = enabled.

For the app which i have created i added the following:

[serverClass::app:]
stateOnClient = disabled

linu1988
Champion

Mark it as answer please

0 Karma

ppurokit
Path Finder

Hi,

I do not have the local folder itself in my app itself.

I have just the default's folder app.conf and set as state = disabled.

When i restart the deployment server , the local -->app.conf gets autogenerated.

Or even without restarting , if i just run the command "splunk reload deploy-server" the app.conf gets generated inside the local folder.

0 Karma

somesoni2
Revered Legend

Just to ensure, you've followed these steps
1.You created the yourapp in the deployment-server\etc\apps.
2. You disabled the app in etc/yourapp/default/app.conf. If there is etc/yourapp/local/app.conf present, same change is done there.
3. You copied this etc/apps/yourapp into etc/deployment-apps folder (with app.conf in both local and default (if present) state=disabled)
4. You restarted deployment server.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...