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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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