Deployment Architecture

serverclass.conf repositoryLocation multiple apps

mikesangray
Path Finder

We would like to configure serverclass.conf with multiple repository locations for each serverclass.

Can this be done? If so, what's the proper syntax?

We're trying this, but it doesn't seem to be working.

Where myapp1 lives in: /opt/splunk/etc/deployment-apps/division1/department1/myapp1

   [serverClass:myserverclass1]
   repositoryLocation = /opt/splunk/etc/deployment-apps/division1/department1
   [serverClass:myserverclass1:app:myapp1]
0 Karma

mikesangray
Path Finder

Got it working. The path is fine and only needs to be on the deployment server in serverclass.conf. We had also put a path in deploymentclient.conf and this is not necessary for what we need.

0 Karma

ddrillic
Ultra Champion

Very interesting b/c I'm used to -

[serverClass:]
whitelist of servers

[serverClass::app:]
restartSplunkWeb = 0
restartSplunkd = 1
stateOnClient = enabled

0 Karma

ddrillic
Ultra Champion

[serverClass:app_name]
whitelist of servers

[serverClass:app_name:app:location under /opt/splunk/etc/deployment-apps]
restartSplunkWeb = 0
restartSplunkd = 1
stateOnClient = enabled

0 Karma

somesoni2
Revered Legend

What problems/error do you see with you current configuration? Hope you're restarted OR reloaded the deployment server after change.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...