Enable the peer nodes
Before reading this topic, read "Indexer cluster deployment overview".
You ordinarily need to enable multiple peer nodes to deploy a cluster. At a minimum, you must enable at least replication factor number of peers - and potentially more to accommodate horizontal scaling.
Before enabling the set of peers, you must enable and restart the master node, as described in "Enable the master node". When the master starts up for the first time, it will block indexing on the peers until you have enabled and restarted the replication factor number of peers.
The procedure in this topic explains how to use Splunk Web to enable a peer node. You can also enable a peer in two other ways:
- Directly edit the peer's
server.conffile. See "Configure peer nodes with server.conf" for details.
- Use the CLI
edit cluster-configcommand. See "Configure peer nodes with the CLI" for details.
Important: This topic explains how to enable a peer for a single-site cluster only. If you plan to deploy a multisite cluster, see "Configure multisite indexer clusters with server.conf".
Enable the peer
To enable an indexer as a peer node:
1. Click Settings in the upper right corner of Splunk Web.
2. In the Distributed environment group, click Indexer clustering.
3. Select Enable indexer clustering.
4. Select Peer node and click Next.
5. There are a few fields to fill out:
- Master URI. Enter the master's URI, including its management port. For example:
- Peer replication port. This is the port on which the peer receives replicated data streamed from the other peers. You can specify any available, unused port for this purpose. This port must be different from the management or receiving ports.
- Security key. This is the key that authenticates communication between the master and the peers and search heads. The key must be the same across all cluster nodes. Set the same value here that you previously set on the master node.
6. Click Enable peer node.
The message appears, "You must restart Splunk for the peer node to become active."
7. Click Go to Server Controls. This takes you to the Settings page where you can initiate the restart.
8. Repeat this process for all the cluster's peer nodes.
When you have enabled the replication factor number of peers, the cluster can start indexing and replicating data, as described in "Enable the master node".
View the peer dashboard
After the restart, log back into the peer node and return to the Clustering page in Splunk Web. This time, you see the peer's clustering dashboard. For information on the dashboard, see "View the peer dashboard".
Configure the peers
After enabling the peers, you need to perform additional configuration before you start indexing data. For details, read these topics:
You might also need to configure some other settings on the peers. See "Peer node configuration overview".
Enable the indexer cluster master node
Enable the search head
This documentation applies to the following versions of Splunk® Enterprise: 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.3.4, 6.3.5, 6.3.6, 6.3.7, 6.3.8, 6.3.9, 6.3.10, 6.3.11, 6.3.12, 6.3.13, 6.3.14, 6.4.0, 6.4.1, 6.4.2, 6.4.3, 6.4.4, 6.4.5, 6.4.6, 6.4.7, 6.4.8, 6.4.9, 6.4.10, 6.4.11, 6.5.0, 6.5.1, 6.5.1612 (Splunk Cloud only), 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.5.6, 6.5.7, 6.5.8, 6.5.9, 6.5.10, 6.6.0, 6.6.1, 6.6.2, 6.6.3, 6.6.4, 6.6.5, 6.6.6, 6.6.7, 6.6.8, 6.6.9, 6.6.10, 6.6.11, 6.6.12, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.0.6, 7.0.7, 7.0.8, 7.0.9, 7.0.10, 7.0.11, 7.1.0, 7.1.1, 7.1.2, 7.1.3, 7.1.4, 7.1.5, 7.1.6, 7.1.7, 7.1.8, 7.2.0, 7.2.1, 7.2.2, 7.2.3, 7.2.4, 7.2.5, 7.2.6, 7.2.7, 7.3.0