<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292649#M11104</link>
    <description>&lt;P&gt;server.conf on Cluster Master named Master&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[clustering]
mode = master
replication_factor = &amp;lt;REP_FACTOR&amp;gt;
search_factor = &amp;lt;SEARCH_FACTOR&amp;gt;
pass4SymmKey = passwords
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;server.conf on Peers (Indexers)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[clustering]
mode = slave
master_uri = &lt;A href="https://Master:8089" target="test_blank"&gt;https://Master:8089&lt;/A&gt;
pass4SymmKey = password
[replication_port://&amp;lt;PORT_NUM&amp;gt;]
disabled = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;server.conf on search head &lt;BR /&gt;
    [clustering]&lt;BR /&gt;
    mode = searchhead&lt;BR /&gt;
    master_uri = &lt;A href="https://Master:8089"&gt;https://Master:8089&lt;/A&gt;&lt;BR /&gt;
    pass4SymmKey = password&lt;/P&gt;

&lt;P&gt;Hope it helps&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2017 16:29:30 GMT</pubDate>
    <dc:creator>adonio</dc:creator>
    <dc:date>2017-03-23T16:29:30Z</dc:date>
    <item>
      <title>When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292648#M11103</link>
      <description>&lt;P&gt;i have enable the peer servers as slave by adding config in server.conf.&lt;BR /&gt;
my first question is - do we write master host name or peer host name in server.conf?&lt;/P&gt;

&lt;P&gt;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. &lt;/P&gt;

&lt;P&gt;here is server.conf from peer node - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[clustering]
master_uri = &lt;A href="https://:8089" target="test_blank"&gt;https://:8089&lt;/A&gt; 
mode = slave 
pass4SymmKey = secretKey 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;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.' &lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 15:56:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292648#M11103</guid>
      <dc:creator>Prakhar_shukla</dc:creator>
      <dc:date>2017-03-23T15:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292649#M11104</link>
      <description>&lt;P&gt;server.conf on Cluster Master named Master&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[clustering]
mode = master
replication_factor = &amp;lt;REP_FACTOR&amp;gt;
search_factor = &amp;lt;SEARCH_FACTOR&amp;gt;
pass4SymmKey = passwords
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;server.conf on Peers (Indexers)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[clustering]
mode = slave
master_uri = &lt;A href="https://Master:8089" target="test_blank"&gt;https://Master:8089&lt;/A&gt;
pass4SymmKey = password
[replication_port://&amp;lt;PORT_NUM&amp;gt;]
disabled = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;server.conf on search head &lt;BR /&gt;
    [clustering]&lt;BR /&gt;
    mode = searchhead&lt;BR /&gt;
    master_uri = &lt;A href="https://Master:8089"&gt;https://Master:8089&lt;/A&gt;&lt;BR /&gt;
    pass4SymmKey = password&lt;/P&gt;

&lt;P&gt;Hope it helps&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 16:29:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292649#M11104</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-03-23T16:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292650#M11105</link>
      <description>&lt;P&gt;thanks for quick reply. &lt;BR /&gt;
my question is ...in peer's server.conf you mentioned &lt;BR /&gt;
 master_uri = &lt;A href="https://Master:8089"&gt;https://Master:8089&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;what is master ? if it is host address of the cluster master? &lt;/P&gt;

&lt;P&gt;2) i even tried to add my 2nd peer with suggested config and i am getting error something like - &lt;BR /&gt;
"can not add peer, server name = master ip- X:X:X:X is added as peer and UP already."&lt;/P&gt;

&lt;P&gt;why this error is coming?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 17:24:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292650#M11105</guid>
      <dc:creator>Prakhar_shukla</dc:creator>
      <dc:date>2017-03-23T17:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292651#M11106</link>
      <description>&lt;P&gt;you have to put either the ip or the fqdn of the Cluster Master. in the example above, i named it "Master"&lt;BR /&gt;
you are getting the error since you already added that peer, or you gave an instance 2 roles&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 17:32:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292651#M11106</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-03-23T17:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292652#M11107</link>
      <description>&lt;P&gt;ok, i have 2 peers says abc1.com and pqr.com.&lt;/P&gt;

&lt;P&gt;i have added abc1.com with the config you suggested and it is added in master and i can see it.  but the Peer Name is master webpage is exactly same as of master FQDN. ( thats 1 problem)&lt;/P&gt;

&lt;P&gt;Now i am trying to add pqr.com with exactly similat config as of abc1.com and its saying in master page that its been already added and UP.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 17:40:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292652#M11107</guid>
      <dc:creator>Prakhar_shukla</dc:creator>
      <dc:date>2017-03-23T17:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292653#M11108</link>
      <description>&lt;P&gt;ok, here it is. i have 2 peers. Peer1 and Peer2.&lt;BR /&gt;
i have added the peer1 as suggested above config and its added and showing in master webpage. point is Peer name in master's webpage is exactly same as master's FQDN. &lt;/P&gt;

&lt;P&gt;Now i am trying to add peer2 with same config as of peer1 and its saying error " cant not add peer, server name = master ip x:x:x:x is added and UP already"&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 17:45:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292653#M11108</guid>
      <dc:creator>Prakhar_shukla</dc:creator>
      <dc:date>2017-03-23T17:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292654#M11109</link>
      <description>&lt;P&gt;Sorry for duplicate comments !!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 17:46:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292654#M11109</guid>
      <dc:creator>Prakhar_shukla</dc:creator>
      <dc:date>2017-03-23T17:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292655#M11110</link>
      <description>&lt;P&gt;so, 3 machines - &amp;gt; 1 is master lets call it my.cluster.master&lt;BR /&gt;
2 peers (indexers) -&amp;gt; Indexer A is abc.com Indexer B is def.com&lt;BR /&gt;
the configurations on indexers have to be the same&lt;BR /&gt;
 [clustering]&lt;BR /&gt;
 mode = slave&lt;BR /&gt;
 master_uri = &lt;A href="https://my.cluster.master:8089" target="_blank"&gt;https://my.cluster.master:8089&lt;/A&gt;&lt;BR /&gt;
 pass4SymmKey = password&lt;BR /&gt;
 [replication_port://]&lt;BR /&gt;
 disabled = false&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:20:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292655#M11110</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2020-09-29T13:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292656#M11111</link>
      <description>&lt;P&gt;ok. actually i have 10 machines, its just i am starting to do the set up. so cluster master is ok and 1 peer is ok. but 2nd peer when adding getting error. its already added and UP.&lt;/P&gt;

&lt;P&gt;what about this error.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 17:51:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292656#M11111</guid>
      <dc:creator>Prakhar_shukla</dc:creator>
      <dc:date>2017-03-23T17:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292657#M11112</link>
      <description>&lt;P&gt;try and remove the configs under [clustering] stanza including the stanza itself, restart splunk and then add the configurations back to server.conf&lt;BR /&gt;
then restart one more time&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 17:54:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292657#M11112</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-03-23T17:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292658#M11113</link>
      <description>&lt;P&gt;sure thing, thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 17:56:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292658#M11113</guid>
      <dc:creator>Prakhar_shukla</dc:creator>
      <dc:date>2017-03-23T17:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292659#M11114</link>
      <description>&lt;P&gt;and is it correct - 1st peer that is in master showing Peer Name as master's FQDN?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 17:58:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292659#M11114</guid>
      <dc:creator>Prakhar_shukla</dc:creator>
      <dc:date>2017-03-23T17:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292660#M11115</link>
      <description>&lt;P&gt;something is off.&lt;BR /&gt;
try and remove all [clustering] stanzas from all instances. in other words, disable clustering and restart all splunk instances. Now start with the cluster master and put the config in server.conf -&amp;gt; restart. then place the configurations for peers in each peer and restart. you can also do it from GUI, it might be easier. just navigate to settings -&amp;gt; indexer clustering -&amp;gt; click enable clustering and fill the blanks&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 18:03:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292660#M11115</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-03-23T18:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292661#M11116</link>
      <description>&lt;P&gt;ok, i tried that earlier. &lt;BR /&gt;
IN GUI, when adding peer, it ask for master URI, so if we put cluster master's IP/FQDN then how come it will know which peer is being added. &lt;BR /&gt;
eventually it was showing me Peer Name as cluster's FQDN thats why switched to CLI way.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 18:09:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292661#M11116</guid>
      <dc:creator>Prakhar_shukla</dc:creator>
      <dc:date>2017-03-23T18:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: When adding peer node servers in server.conf, do I write the indexer master host name or the peer host name?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292662#M11117</link>
      <description>&lt;P&gt;maybe its not clear enough.&lt;BR /&gt;
master uri is the address (ip or fqdn) of the Cluster Master. you have to set it only on the indexers not on the Cluster Master itself.&lt;BR /&gt;
first, enable clustering on the master and set rep factor search factor and pass4symmkey&lt;BR /&gt;
then restart. &lt;BR /&gt;
now go to the peers (Indexers) and add them one by one by enabling clustering and putting the Cluster Master as master_uri &lt;BR /&gt;
the peer will connect to the master and will tell it, "hey i am peer abc.com"&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 18:13:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/When-adding-peer-node-servers-in-server-conf-do-I-write-the/m-p/292662#M11117</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-03-23T18:13:31Z</dc:date>
    </item>
  </channel>
</rss>

