Deployment Architecture

can a HF be a deployment server & client ?

Esky73
Builder

In a scenario where we have 2 x HF's that send data to a cloud instance.

One of the HF's is a deployment server - can this also be a client ? so we can push out apps to both the remote HF and the local HF ?

deploymentclient.conf
[target-broker:deploymentServer]
targetUri = localhost:8089

doesn't seem to work.

Tags (1)

MuS
Legend

Hi Esky73,

Yes, it can be done - but it is tricky and you need to plan this carefully.

Basically on the first Deployment server you change the repositoryLocation option http://docs.splunk.com/Documentation/Splunk/latest/Updating/Useserverclass.conf#Non-filtering_attrib... so apps will not be placed into etc/apps (default directory) but in the etc/deployment-apps directory.

On the second Deployment server you can mange the DS clients as usual.

Test it before put this into production!

Hope this helps and makes sense ...

cheers, MuS

Esky73
Builder

Cheers MuS

We only have the one DS

Just seeking clarity - in a DS > DC scenario you do want the server to push out from deployment-apps to /etc/apps.
So on the instance where it is both a DS and a DC i do config changes in the deployment-apps folder and thats pushed across to /etc/apps locally.

0 Karma

MuS
Legend

Okay, I miss understood your question!
A DS should never be its own DC - This will / can produce wormholes and Loki will unleash his army of doom over your Splunk 😉 No really, you should not do this.

Easiest way to overcome this use case would be a cronjob which copies your apps from etc/deployment-apps to etc/apps

cheers, MuS

Esky73
Builder

OK Cheers.

0 Karma

MuS
Legend

Thanks for the points, but if you click the ^ symbol it will upvote the answer or comment and will not take points away from you 😉

aakwah
Builder

Indeed 🙂

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...