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!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...