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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...