Deployment Architecture

Slave apps vs deployment apps

gschmitz
Path Finder

Hi,
since index replication we have got another way to distribute configuration. I already found out by troubleshooting that any index definition in _cluster overrules my deployment apps.
Furthermore deploying via the cluster gracefully restarts splunkd.

So my question is: what are the best practices?

Tags (3)
0 Karma

esix_splunk
Splunk Employee
Splunk Employee

It's against best practices to use a deployment server to push apps to indexers. Mainly because it doesnt gracefully restart the indexer. That being said, it can be done but with caution.

Best practices is to use the Cluster Master's slave-apps to deploy to your indexers. This keeps parity among the indexers and cluster master and can reduce load on the cluster that would be associated to peers that dont cleanly restart.

0 Karma

Steve_G_
Splunk Employee
Splunk Employee

If you're deploying apps to the peer nodes on a cluster, you must use this method:

http://docs.splunk.com/Documentation/Splunk/latest/Indexer/Updatepeerconfigurations

This puts the apps under $SPLUNK_HOME/etc/slave-apps

Configuration file precedence rules are here:

http://docs.splunk.com/Documentation/Splunk/latest/Admin/Wheretofindtheconfigurationfiles

For a quick summary, see this subsection of that topic:

http://docs.splunk.com/Documentation/Splunk/latest/Admin/Wheretofindtheconfigurationfiles#Summary_of...

jkat54
SplunkTrust
SplunkTrust

It's not that you "must use this method", its that you can use this method and if you want to,... here's how you do it... but beware that the cluster bundle will supersede any configurations you send via deployment servers.

http://docs.splunk.com/Documentation/Splunk/latest/Indexer/Updatepeerconfigurations

right???

0 Karma

Steve_G_
Splunk Employee
Splunk Employee

The configuration bundle method is the only way to ensure that certain key configurations stay in sync across all peer nodes, which is necessary for the proper operation of the cluster.

Regarding use of deployment server or third-party tools:

http://docs.splunk.com/Documentation/Splunk/latest/Indexer/Keydifferences#Do_not_use_deployment_serv...

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...