Deployment Architecture

When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?

Prakhar_shukla
Path Finder

i have enable the peer servers as slave by adding config in server.conf.
my first question is - do we write master host name or peer host name in server.conf?

so far, my set up is like , i have installed Splunk Enterprise in multiple servers. i have enable server 1 as cluster master and enabled it as master. now i am trying to add Peers to it. server 2 and 3 are my peer.

here is server.conf from peer node -

[clustering]
master_uri = https://:8089 
mode = slave 
pass4SymmKey = secretKey 

i was confused if host name should be of master or peer. i tried of masters and added it, but when trying to add the other one, its saying error ' server name (master) is already added as peer and up.'

0 Karma
1 Solution

adonio
Ultra Champion

server.conf on Cluster Master named Master

[clustering]
mode = master
replication_factor = <REP_FACTOR>
search_factor = <SEARCH_FACTOR>
pass4SymmKey = passwords

server.conf on Peers (Indexers)

[clustering]
mode = slave
master_uri = https://Master:8089
pass4SymmKey = password
[replication_port://<PORT_NUM>]
disabled = false

server.conf on search head
[clustering]
mode = searchhead
master_uri = https://Master:8089
pass4SymmKey = password

Hope it helps

View solution in original post

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...