Deployment Architecture

What is the best way to manage multiple deployers?

splunkDude2015
Explorer

With multiple clustered search heads in production, how do I best manage multiple deployers?

0 Karma

bmacias84
Champion

What you could do is set up a dedicated deployment server to be used by your search head cluster masters or use your existing. Then within the deploymentclient.conf change the repositoryLocation on your cluster masters.

[deployment-client]
repositoryLocation = $SPLUNK_HOME/etc/shcluster/apps

[target-broker:deploymentServer]
targetUri= deploymentserver.splunk.mycompany.com:8089

This method will update $SPLUNK_HOME/etc/shcluster/apps on all masters, but you will still have to run splunk apply shcluster-bundle on your masters. If possible I would use a git repository for all apps. From the deployment server Clone all repos from the master git repos.

Check out my .conf presentation Nordstrom ITOps

0 Karma

maciep
Champion

I don't know if there any official best practices here, but I can share what we try to do. We have two clusters and a few standalone boxes. Some of our apps/TAs/etc need to be on all of those search heads.

Right now, our approach is a manual effort. We have a central location on our network where we store "gold" version of apps. And then we copy them down to shcluster/apps or etc/apps on whatever cluster/boxes need them. It's just a process. Need to update an app? Grab the gold copy and put it down on a test box. Make/test your changes. Copy back up to the central repository. Copy down to all of the relevant server. Schedule any needed cluster pushes.

You may be able to manage them with a deployment server, similar to how you can for a cluster master? Maybe? (http://docs.splunk.com/Documentation/Splunk/latest/Indexer/Updatepeerconfigurations#Use_deployment_s...). But for now, that's a bit overkill for our needs.

0 Karma

woodcock
Esteemed Legend

Watch this video and pay special attention to "Hierarchical Deployments":

https://www.youtube.com/watch?v=3i3Sz3aPrts

0 Karma
Get Updates on the Splunk Community!

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Deprecation of Splunk Observability Kubernetes “Classic Navigator” UI starting ...

Access to Splunk Observability Kubernetes “Classic Navigator” UI will no longer be available starting January ...

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...