Deployment Architecture

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

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

SplunkTrust
SplunkTrust

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