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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...