Configure peer nodes with server.conf

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]
manager_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.