Peer node configuration overview
Configuration of the peer nodes falls under two categories:
- Configuration of the basic indexer cluster settings, such as the master URI and the replication port.
- Configuration of input, indexing, and related settings. This includes the deployment of apps to the peer nodes.
Most peer cluster configuration happens during initial deployment:
1. When you enable the peer, you specify its cluster settings, such as its master node and the port on which it receives replicated data. See "Enable the peer nodes".
2. After you enable the set of peers, you configure their indexes, if necessary. See "Configure the peer indexes in an indexer cluster".
3. Finally, you configure their inputs, usually by means of forwarders. See "Use forwarders to get your data into the indexer cluster".
These are the key steps in configuring a peer. You might also need to update the configurations later, as with any indexer.
Change the cluster configuration
There are two main reasons to change the cluster node configuration:
- Redirect the peer to another master. This can be useful in the case where the master fails but you have a stand-by master ready to take over. For information on stand-by masters, see "Replace the master node on the indexer cluster".
- Change the peer's security key for the cluster. Only change the key if you are also changing it for all other nodes in the cluster. The key must be the same across all instances in a cluster.
To edit the cluster configuration, change each peer node individually, using one of these methods:
- Edit the configuration from the peer node dashboard in Splunk Web. See "Configure peer nodes with the dashboard".
- Edit the peer's
server.conffile. See "Configure peer nodes with server.conf" for details.
- Use the CLI. See "Configure peer nodes with the CLI" for details.
For additions and differences when configuring multisite peer nodes, see "Configure multisite indexer clusters with server.conf".
The set of index stanzas in
indexes.conf must be identical across all peers, aside from very limited exceptions described in "Manage configurations on a peer-by-peer basis". It is also important that index-time processing be the same across the peers. For the cluster to properly replicate data and handle node failover, peers must share the same indexing functionality, and they cannot do this if certain key files vary from peer to peer.
As a best practice, you should treat your peers as interchangeable, and therefore you should maintain identical versions of configuration files and apps across all peers. At the least, the following files should be identical:
To ensure that the peers share a common set of configuration files and apps, place the files and apps on the master and then use the configuration bundle method to distribute them, in a single operation, to the set of peers.
These topics describe how to maintain identical configurations across the set of peers:
- "Manage common configurations across all peers"
- "Manage app deployment across all peers"
- "Configure the peer indexes in an indexer cluster"
- "Update common peer configurations and apps"
Manage single-peer configurations
You might occasionally need to handle some configurations on a peer-by-peer basis, for testing or other purposes. As a general rule, however, try to use the same configurations across all peers, so that the peers are interchangeable.
For information on single-peer configuration, see "Manage configurations on a peer-by-peer basis".
Replace the master node on the indexer cluster
Configure cluster peer nodes with the dashboard
This documentation applies to the following versions of Splunk® Enterprise: 6.1, 6.1.1, 6.1.2, 6.1.3, 6.1.4, 6.1.5, 6.1.6, 6.1.7, 6.1.8, 6.1.9, 6.1.10, 6.1.11, 6.1.12, 6.1.13, 6.1.14, 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.2.4, 6.2.5, 6.2.6, 6.2.7, 6.2.8, 6.2.9, 6.2.10, 6.2.11, 6.2.12, 6.2.13, 6.2.14, 6.2.15