Deployment Architecture

Move Deployment Server

nebel
Communicator

Hi there,

at the moment I am using a Deployment Server which is also the SearchHead.
Forwarders were installed automaticly and they get a deploymentclient.conf file placed to /opt/splunk/etc/system/local (highest priority).

Because of performance issues I plan to introduce a new Deployment Server. Now I am not sure how can I say to the existing Forwarders that there is a new Deployment Server to connect.

The idea was to use the global app and in that app I would define the deploymentclient.conf with the new Deployment Server. I would placed that App on the old Deployment Server and after a phonehome the Forwarder gets the new configuration and connecting to the new Deployment Server.

But there is one problem. I think the highest priority has /opt/splunk/etc/system/local and this configuration will override the configuration in the global app. So what can I do to change the Deployment Server by using the Deployment Server to change that configuration.

Thank you in advance

Regards

Tags (1)
0 Karma
1 Solution

nebel
Communicator

Yes I think the same.
I will realize this by an global script which is changing the deploymentclient.conf file with the new deployment server target.

View solution in original post

0 Karma

nebel
Communicator

Yes I think the same.
I will realize this by an global script which is changing the deploymentclient.conf file with the new deployment server target.

0 Karma

Runals
Motivator

From what I understand you will have to have an external to Splunk method to delete the deployment.conf file in system/local. This is a known issue apparently. Its too bad it isn't put in the etc/apps folder by default.

Order of events would be that all your forwarders get an app with a new deploymentclient.conf file and then the one in system/local is deleted through some method. Otherwise you will end up with an orphaned forwarder.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...