Created
June 11, 2015 12:33
-
-
Save sworisbreathing/d236895568eaf31da579 to your computer and use it in GitHub Desktop.
Splunk Tiered Deployment Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[deployment-client] | |
clientName = SecondaryDeploymentServer | |
reloadDSOnAppInstall = true | |
[target-broker:PrimaryDeploymentServer] | |
targetUri = <deployment_master_fqdn>:<deployment_master_mgmt_port> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################### | |
# Secondary deployment servers - Deployment Apps | |
########################################################### | |
[serverClass:secondaryDeploymentServersDeploymentApps] | |
targetRepositoryLocation = $SPLUNK_HOME/etc/deployment-apps | |
whitelist.0 = *SecondaryDeploymentServer* | |
stateOnClient = noop | |
[serverClass:secondaryDeploymentServersDeploymentApps:app:TA-sos_win] | |
[serverClass:secondaryDeploymentServersDeploymentApps:app:TA-sos] | |
########################################################### | |
# Secondary deployment servers - Self-Deployed Apps | |
########################################################### | |
[serverClass:secondaryDeploymentServers] | |
whitelist.0 = *SecondaryDeploymentServer* | |
[serverClass:secondaryDeploymentServers:app:foo] | |
restartSplunkd = true | |
########################################################### | |
# Linux/Unix Splunk Instances | |
# (note: this is probably not a comprehensive list) | |
########################################################### | |
[serverClass:NixHosts] | |
whitelist.0 = * | |
machineTypesFilter = linux-*, freebsd-*, darwin-*, sunos-*, aix-* | |
[serverClass:NixHosts:app:TA-sos] | |
restartSplunkd = true | |
########################################################### | |
# Windows Splunk Instances | |
########################################################### | |
[serverClass:WindowsHosts] | |
whitelist.0 = * | |
machineTypesFilter = windows-* | |
[serverClass:NixHosts:app:TA-sos_win] | |
restartSplunkd = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################### | |
# Linux/Unix Splunk Instances | |
# (note: this is probably not a comprehensive list) | |
########################################################### | |
[serverClass:NixHosts] | |
whitelist.0 = * | |
machineTypesFilter = linux-*, freebsd-*, darwin-*, sunos-*, aix-* | |
[serverClass:NixHosts:app:TA-sos] | |
restartSplunkd = true | |
########################################################### | |
# Windows Splunk Instances | |
########################################################### | |
[serverClass:WindowsHosts] | |
whitelist.0 = * | |
machineTypesFilter = windows-* | |
[serverClass:NixHosts:app:TA-sos_win] | |
restartSplunkd = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Splunk Tiered Deployment Example Configuration
This set of configuration files shows how to roll out a tiered strategy for your Splunk
deployment servers. In this example, we have:
and secondary deployment servers
The Primary Deployment Server
The primary deployment server serves as the main app repository. In this example, it has:
In
$SPLUNK_HOME/etc/deployment-apps
:foo
(an arbitrary app)TA-sos
(the technology add-on for Splunk On Splunk on *Nix hosts)TA-sos_win
(the technology add-on for Splunk on Splunk on Windows hosts)The Secondary Deployment Server
The secondary deployment server downloads its apps from the primary deployment server.
In this example, it will end up with the following:
In
$SPLUNK_HOME/etc/apps
:foo
(an abritrary app)TA-sos
orTA-sos_win
(depending on the OS)In
$SPLUNK_HOME/etc/deployment-apps
:TA-sos
TA-sos_win