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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...