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
SplunkTrust
SplunkTrust

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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...