Deployment Architecture

Deployment server: Edit of serverclass.conf required in all cases?

malmoore
Splunk Employee
Splunk Employee

Hi,

Let's say I have a large network of computers with universal forwarders installed on them.
Let's also say that they will all run the same app on their universal forwarders.
Let's additionally say I have a deployment server.

Will a deployment server by default deploy any apps installed in $SPLUNK_HOME/etc/deployment-apps?

For example, if I configure the universal forwarders to all point to the deployment server, and then configure and place my app into $SPLUNK_HOME/etc/deployment-apps on my deployment server, must I also edit serverclass.conf before the deployment server will begin to deploy apps to the universal forwarders?

0 Karma

kristian_kolb
Ultra Champion

Yes, that is where you specify WHICH deployment-client (i.e. forwarder) should get WHICH app.

That being said, if your serverclass.conf has stanzas like this;

[serverClass:blah]
whitelist.0=*

[serverClass:blah:app:foo]

you do not need to edit serverclass.conf if you've edited the contents of the foo-app. But you will need to reload the deployment server configuration in order for the DS to realize that the foo app has changed.

$SPLUNK_HOME/bin/splunk reload deploy-server

UPDATE:

If you only have one app to be delivered to your hundreds of (all) forwarders
- and you have already configured the deploymentclient.conf on all of them.
- and you have already created your app,
- and put it into $SPLUNK_HOME/etc/deployment-apps on your DS.

Congrats! You've done all the hard stuff. How hard is it to just inform your splunk server that it should also act as a DS, by creating a serverclass.conf $SPLUNK_HOME/etc/system/local and restarting.

No serverclass.conf. No DS. There is no default.

Hope this helps,

Kristian

0 Karma

kristian_kolb
Ultra Champion

see update

0 Karma

malmoore
Splunk Employee
Splunk Employee

So even if I have:

  • only one app to deliver
  • configured my deployment clients to connect to this DS
  • placed my app in $SPLUNK_HOME/etc/deployment-apps

you're saying I still need to edit serverclass.conf to include at least the [global] stanza and

 [serverClass:blah:app:my-app]     

?

It would seem to me that, with the defaults, I should not have to make changes to serverclass.conf in this specific scenario where I have one app, all clients should get that app, and the app is on the deployment server.

Appreciate the guidance on this.

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...