Deployment Architecture

How does the deployment server deploy to itself?

danielbb
Motivator

I have two DSs that fail to deploy the TA_nix to themselves, how is it normally done? meaning how does the deployment server deploy to itself?

Labels (1)
Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

A Deployment Server cannot be a client of itself.  Any apps the DS needs should be installed manually.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

livehybrid
SplunkTrust
SplunkTrust

Hi @danielbb 

As @richgalloway said, you cant/shouldnt have the DS as a client to itself - You should deploy apps onto your DS under $SPLUNK_HOME/etc/apps in the same way you deploy to $SPLUNK_HOME/etc/deployment_apps

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

richgalloway
SplunkTrust
SplunkTrust

A Deployment Server cannot be a client of itself.  Any apps the DS needs should be installed manually.

---
If this reply helps you, Karma would be appreciated.

danielbb
Motivator

Why the DS shouldn't be a client of itself? any reasoning here?

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Being a client of oneself can have some strange results, especially if you deploy an app modifying DS behaviour (especially repo location). I suppose it could lead to a restart loop or some similar "funny" side effects. But even without it, you could accidentally push some general settings involuntarily modifying DS behaviour in an undesired way (even disabling it entirely).

livehybrid
SplunkTrust
SplunkTrust

Hi @danielbb 

The docs state : 

Important: The deployment server cannot be a deployment client of itself. If it is, the following error will appear in splunkd.log: "This DC shares a Splunk instance with its DS: unsupported configuration". This has the potential to lead to situations where the deployment clients lose their ability to contact the deployment server.

https://help.splunk.com/en/splunk-enterprise/administer/update-your-deployment/9.4/configure-the-dep...

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

richgalloway
SplunkTrust
SplunkTrust

It's an unsupported configuration.  It was explicitly prohibited at one time, but I can't find that documented now.

Note that it is possible for a DS to be a client of another DS.  This hierarchical structure has been used to manage multiple DSs when there are too many endpoints for a single DS to handle.

---
If this reply helps you, Karma would be appreciated.
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...