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!

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