Deployment Architecture

Can someone please provide me a way to setup three deployment servers?

Bentash
Explorer

can someone please provide me a way to set up three deployment servers? I want the first one to send to two deployment servers and once app is deployed it goes to the deployment server folder of those two servers instead of app, so it can also push those apps to respective clients. I did this before but very long time and can't seem to figure out how I did it.

Thanks

0 Karma
1 Solution

micahkemp
Champion

You need the targetRepositoryLocation in serverclass.conf to tell your main DS to push apps to your secondary DSes in the deployment-apps folder:

targetRepositoryLocation = <path>
* The location on the deployment client where to install the apps defined
  for this Deployment Server.
* If this value is unset, or set to empty, the repositoryLocation path is used.
* Useful only with complex (for example, tiered) deployment strategies.
* Defaults to $SPLUNK_HOME/etc/apps, the live
  configuration directory for a Splunk instance.

So you'd have a serverclass to deploy the deployment-apps to the other DSes in deployment-apps, and another serverclass to deploy the serverclass.conf to the DSes in etc/apps.

This recent answers post has additional details. The accepted answer says targetRepositoryLocation is buggy, but an answer below shows it in practice. We did this exact thing in Splunk training today, and it is valid and supported.

View solution in original post

0 Karma

micahkemp
Champion

You need the targetRepositoryLocation in serverclass.conf to tell your main DS to push apps to your secondary DSes in the deployment-apps folder:

targetRepositoryLocation = <path>
* The location on the deployment client where to install the apps defined
  for this Deployment Server.
* If this value is unset, or set to empty, the repositoryLocation path is used.
* Useful only with complex (for example, tiered) deployment strategies.
* Defaults to $SPLUNK_HOME/etc/apps, the live
  configuration directory for a Splunk instance.

So you'd have a serverclass to deploy the deployment-apps to the other DSes in deployment-apps, and another serverclass to deploy the serverclass.conf to the DSes in etc/apps.

This recent answers post has additional details. The accepted answer says targetRepositoryLocation is buggy, but an answer below shows it in practice. We did this exact thing in Splunk training today, and it is valid and supported.

0 Karma

Bentash
Explorer

Thank You @micahkemp will give this a try

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, ...