Deployment Architecture

Deployment server and search head on the same box?

lu9603
Engager

In the "Architecting and Deploying Splunk" training course, there is the following comment on having a deployment server and a search head on the same physical box:
"[Deployment server] can be shared with another component (e.g. search head) if there is low load and capacity on the other box
– Make sure to run it as a separate Splunk instance"

But why do we have to run the deployment server as a separate Splunk instance?

Here is my line of logic:

  1. Everything a deployment server cares about is under this directory:
    $HOME/splunk/etc/deployment-apps

  2. Everything the search head cares about is under this directory:
    $HOME/splunk/etc/apps/search
    ( and possibly some additional apps under $HOME/splunk/etc/apps )

From a configuration point of view, these two areas don't interfere with each other. So, are there other reasons why they cannot coexist in one Splunk instance? What would happen if they do?

Thanks!

0 Karma
1 Solution

grijhwani
Motivator

No idea. We run search and deployment on the same server as part of the same service, have done for 5 years, and have never had difficulties. My guess would be future-proofing in case there was a later need to segregate the two for capacity reasons.

View solution in original post

rmorlen
Splunk Employee
Splunk Employee

You can run both on the same server. It really depends on the number of users and the number of servers you are trying to manage.

BTW. The apps the search server cares about is in etc/apps. If you were to deploy to the searchhead it would basically copy from etc/deployment-apps to etc/apps.

0 Karma

grijhwani
Motivator

No idea. We run search and deployment on the same server as part of the same service, have done for 5 years, and have never had difficulties. My guess would be future-proofing in case there was a later need to segregate the two for capacity reasons.

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!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...