Configure peer nodes with server.conf
Prerequisites
Before reading this topic, see Configure the indexer cluster with server.conf. It discusses configuration issues that are common to all cluster node types.
Enable a peer node
The following example shows the basic settings that you must configure when enabling a peer node. The configuration attributes shown in these examples correspond to fields on the Enable clustering page of Splunk Web.
[replication_port://9887] [clustering] master_uri = https://10.152.31.202:8089 mode = peer pass4SymmKey = whatever
This example specifies that:
- the peer will use port 9887 to listen for replicated data streamed from the other peers. You can specify any available, unused port as the replication port. Do not re-use the management or receiving ports.
- the peer's manager node resides at
10.152.31.202:8089
. - the instance is a peer node.
- the security key is "whatever".
You must restart the instance for the settings to take effect.
Edit the peer settings
You can change these settings later, if necessary. For example, to change the cluster's security key, you change the pass4SymmKey
value on each node.
Configure peer nodes with the dashboard | Configure peer nodes with the CLI |
This documentation applies to the following versions of Splunk® Enterprise: 8.1.0, 8.1.1, 8.1.2, 8.1.3, 8.1.4, 8.1.5, 8.1.6, 8.1.7, 8.1.8, 8.1.9, 8.1.10, 8.1.11, 8.1.12, 8.1.13, 8.1.14
Feedback submitted, thanks!