Deployment Architecture

What does "./splunk enable deploy-server" do?

melonman
Motivator

Hi

To enable the deployment server, I need to issue the following command,

./splunk enable deploy-server

What does this command do?
Does this actually add some configuration in a file?
Can I do the same operation manually without issuing the CLI command?

Thank you in advance for your comments..

Tags (1)
0 Karma
1 Solution

sowings
Splunk Employee
Splunk Employee

The operations of the deployment server are governed by serverclass.conf. When you populate this file to tell the deployment server about classes of clients, and what apps they should receive, that's the first part of the process. Then, when you restart Splunk with a serverclass.conf present and enabled, that's basically the same as "splunk enable deploy-server". I believe that the latter is provided so that you can enable/disable the functionality on a temporary basis, say, for triaging a problem, without restarting Splunk.

View solution in original post

sowings
Splunk Employee
Splunk Employee

The operations of the deployment server are governed by serverclass.conf. When you populate this file to tell the deployment server about classes of clients, and what apps they should receive, that's the first part of the process. Then, when you restart Splunk with a serverclass.conf present and enabled, that's basically the same as "splunk enable deploy-server". I believe that the latter is provided so that you can enable/disable the functionality on a temporary basis, say, for triaging a problem, without restarting Splunk.

melonman
Motivator

Oh! I see. I thought even after I provide serverclass.conf file with no content (only [global] stanza), I need to issue the command to actually enable the deployment server. What is the minimal configuration in serverclass.conf so splunk will be enabled as deployment server? * it is mostly to see if deployment clients are checked in before actually deploying any apps.

0 Karma
Get Updates on the Splunk Community!

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...