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!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Community Content Calendar, October Edition

Welcome to the October edition of our Community Spotlight! The Splunk Community is a treasure trove of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...