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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...