<?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: How to properly connect a search head cluster to a search peer? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254468#M9628</link>
    <description>&lt;P&gt;Hi there zipmaster,&lt;/P&gt;

&lt;P&gt;first of I had my own problems with searchhead &amp;lt;-&amp;gt; indexer connection. It's easy to make a mistake here.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;After the execution of the command there should be a distsearch.conf in the $SplunkHome/etc/system/local&lt;/P&gt;

&lt;P&gt;Could you tell me if there is one?&lt;BR /&gt;
If yes, could you maybe post it's content here, too?&lt;/P&gt;

&lt;P&gt;Thanks! &lt;BR /&gt;
pyro_wood&lt;/P&gt;

&lt;P&gt;(PS: in approx. 1.5 h I'm at work, so I will post you parts of my own guide where I tried to setup distributed search)&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;If you would like to delete existing cluster config on a search head (to beginn from start) do the following:&lt;/P&gt;

&lt;P&gt;On every SH do the following commands:&lt;BR /&gt;
&lt;EM&gt;splunk remove shcluster-member&lt;/EM&gt;&lt;BR /&gt;
(wait approx. 1 minute)&lt;BR /&gt;
&lt;EM&gt;splunk stop&lt;BR /&gt;
splunk clean all&lt;BR /&gt;
splunk start&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Now you should have clean SH's without cluster config.&lt;/P&gt;

&lt;P&gt;Initiate SH-Cluster config:&lt;BR /&gt;
Go on every SH in server.conf and post the following (alter the config for every sh)&lt;/P&gt;

&lt;P&gt;[shclustering]&lt;BR /&gt;
conf_deploy_fetch_url = &lt;A href="https://deployer:8089" target="_blank"&gt;https://deployer:8089&lt;/A&gt;&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
mgmt_uri = &lt;A href="https://sh1:8089" target="_blank"&gt;https://sh1:8089&lt;/A&gt;&lt;BR /&gt;
pass4SymmKey = e.g.:splunkisawesome&lt;BR /&gt;
shcluster_label = e.g.:SH-Cluster_1&lt;/P&gt;

&lt;P&gt;restart splunk afterwards&lt;BR /&gt;
&lt;EM&gt;restart splunk&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Initialize Cluster-Captain with this command:&lt;BR /&gt;
&lt;EM&gt;splunk bootstrap shcluster-captain -servers_list "&lt;A href="https://sh1:8089,https://sh2:8089,https://sh3:8089" target="_blank"&gt;https://sh1:8089,https://sh2:8089,https://sh3:8089&lt;/A&gt;"&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;(it takes a while)&lt;/P&gt;

&lt;P&gt;then do:&lt;BR /&gt;
&lt;EM&gt;splunk show shcluster-status&lt;/EM&gt;&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Next steps:&lt;BR /&gt;
Go on every Search-Head and create a Stanza called [clustering] in server.conf:&lt;/P&gt;

&lt;P&gt;[clustering]&lt;BR /&gt;
search_server= &lt;A href="https://indexer:8089" target="_blank"&gt;https://indexer:8089&lt;/A&gt;&lt;BR /&gt;
mode = searchhead&lt;BR /&gt;
pass4SymmKey = e.g.:splunkisawesome&lt;/P&gt;

&lt;P&gt;Then execute:&lt;BR /&gt;
&lt;EM&gt;restart splunk&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Try it out! Sometime this does the trick already.&lt;/STRONG&gt;&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;If not... and I don't know why this only happens occasionaly do these steps as well:&lt;/P&gt;

&lt;P&gt;Now you need to setup authentication for the Indexers:&lt;/P&gt;

&lt;P&gt;Copy via scp (or other) every "trusted.pem" from every SH:&lt;BR /&gt;
/opt/splunk/etc/auth/distServerKeys/trusted.pem&lt;/P&gt;

&lt;P&gt;to the indexers into the corresponding file:&lt;BR /&gt;
 $SplunkHome/etc/auth/distServerKeys//&lt;BR /&gt;
 $SplunkHome/etc/auth/distServerKeys//&lt;BR /&gt;
 $SplunkHome/etc/auth/distServerKeys//&lt;/P&gt;

&lt;P&gt;(if those directories arent there create them)&lt;/P&gt;

&lt;P&gt;Restart indexer&lt;BR /&gt;
&lt;EM&gt;splunk restart&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;HOPE THIS HELPS &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
Just ask, if you have any further questions.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 11:25:13 GMT</pubDate>
    <dc:creator>horsefez</dc:creator>
    <dc:date>2020-09-29T11:25:13Z</dc:date>
    <item>
      <title>How to properly connect a search head cluster to a search peer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254467#M9627</link>
      <description>&lt;P&gt;I'm having a very hard time connecting my search head cluster to my search peer. I have stepped through the search head documentation very carefully located here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/DistSearch/SHCdeploymentoverview"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/DistSearch/SHCdeploymentoverview&lt;/A&gt; &lt;BR /&gt;
I have successfully installed my deployer and added the &lt;CODE&gt;[shclustering]&lt;/CODE&gt; stanza to the /opt/splunk/etc/system/local/server.conf file and added the pass4SymmKey and shcluster_label.&lt;/P&gt;

&lt;P&gt;I then ran &lt;CODE&gt;splunk init shcluster-config&lt;/CODE&gt; on each of my search head members and restarted Splunk. Each one ran successfully without any reported errors. I'm also able to run &lt;CODE&gt;splunk bootstrap shcluster-captain&lt;/CODE&gt; without any issues and &lt;CODE&gt;splunk show shcluster-status&lt;/CODE&gt; doesn't report any problems:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunk@lelsplunksh02 ~]$ splunk show shcluster-status

 Captain:
                          dynamic_captain : 1
                          elected_captain : Thu Oct 13 15:48:05 2016
                                       id : C2403815-55A2-413E-AF26-4998CFD9508F
                         initialized_flag : 1
                                    label : lelsplunksh03
                         maintenance_mode : 0
                                 mgmt_uri : &lt;A href="https://splunkserver:8089" target="test_blank"&gt;https://splunkserver:8089&lt;/A&gt;
                    min_peers_joined_flag : 1
                     rolling_restart_flag : 0
                       service_ready_flag : 1

 Members:
        lelsplunksh02
                                    label : lelsplunksh02
                                 mgmt_uri : &lt;A href="https://splunkserver:8089" target="test_blank"&gt;https://splunkserver:8089&lt;/A&gt;
                           mgmt_uri_alias : &lt;A href="https://xx.xxx.xx.xxx:8089" target="test_blank"&gt;https://xx.xxx.xx.xxx:8089&lt;/A&gt;
                                   status : Up
        lelsplunksh04
                                    label : lelsplunksh04
                                 mgmt_uri : &lt;A href="https://splunkserver:8089" target="test_blank"&gt;https://splunkserver:8089&lt;/A&gt;
                           mgmt_uri_alias : &lt;A href="https://xx.xxx.xx.xxx:8089" target="test_blank"&gt;https://xx.xxx.xx.xxx:8089&lt;/A&gt;
                                   status : Up
        lelsplunksh03
                                    label : lelsplunksh03
                                 mgmt_uri : &lt;A href="https://splunkserver:8089" target="test_blank"&gt;https://splunkserver:8089&lt;/A&gt;
                           mgmt_uri_alias : &lt;A href="https://xx.xxx.xx.xxx:8089" target="test_blank"&gt;https://xx.xxx.xx.xxx:8089&lt;/A&gt;
                                   status : Up
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My problem starts when I try to add my search peer. I only have one indexer and I'm following this doc: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/DistSearch/Connectclustersearchheadstosearchpeers"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/DistSearch/Connectclustersearchheadstosearchpeers&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;I'm running:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk add search-server &lt;A href="https://splunkserver:8089" target="test_blank"&gt;https://splunkserver:8089&lt;/A&gt; -auth admin:pswd -remoteUsername admin -remotePassword pswd
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This also runs successfully, but I'm just not getting any results when I connect to my search head and run a search. I can run the exact same search on the indexer itself and it returns results. I can't see any errors in logs on either the indexer or the search head members.&lt;/P&gt;

&lt;P&gt;Any help would be appreciated to point me in the right direction.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 23:08:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254467#M9627</guid>
      <dc:creator>zipmaster07</dc:creator>
      <dc:date>2016-10-13T23:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly connect a search head cluster to a search peer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254468#M9628</link>
      <description>&lt;P&gt;Hi there zipmaster,&lt;/P&gt;

&lt;P&gt;first of I had my own problems with searchhead &amp;lt;-&amp;gt; indexer connection. It's easy to make a mistake here.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;After the execution of the command there should be a distsearch.conf in the $SplunkHome/etc/system/local&lt;/P&gt;

&lt;P&gt;Could you tell me if there is one?&lt;BR /&gt;
If yes, could you maybe post it's content here, too?&lt;/P&gt;

&lt;P&gt;Thanks! &lt;BR /&gt;
pyro_wood&lt;/P&gt;

&lt;P&gt;(PS: in approx. 1.5 h I'm at work, so I will post you parts of my own guide where I tried to setup distributed search)&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;If you would like to delete existing cluster config on a search head (to beginn from start) do the following:&lt;/P&gt;

&lt;P&gt;On every SH do the following commands:&lt;BR /&gt;
&lt;EM&gt;splunk remove shcluster-member&lt;/EM&gt;&lt;BR /&gt;
(wait approx. 1 minute)&lt;BR /&gt;
&lt;EM&gt;splunk stop&lt;BR /&gt;
splunk clean all&lt;BR /&gt;
splunk start&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Now you should have clean SH's without cluster config.&lt;/P&gt;

&lt;P&gt;Initiate SH-Cluster config:&lt;BR /&gt;
Go on every SH in server.conf and post the following (alter the config for every sh)&lt;/P&gt;

&lt;P&gt;[shclustering]&lt;BR /&gt;
conf_deploy_fetch_url = &lt;A href="https://deployer:8089" target="_blank"&gt;https://deployer:8089&lt;/A&gt;&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
mgmt_uri = &lt;A href="https://sh1:8089" target="_blank"&gt;https://sh1:8089&lt;/A&gt;&lt;BR /&gt;
pass4SymmKey = e.g.:splunkisawesome&lt;BR /&gt;
shcluster_label = e.g.:SH-Cluster_1&lt;/P&gt;

&lt;P&gt;restart splunk afterwards&lt;BR /&gt;
&lt;EM&gt;restart splunk&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Initialize Cluster-Captain with this command:&lt;BR /&gt;
&lt;EM&gt;splunk bootstrap shcluster-captain -servers_list "&lt;A href="https://sh1:8089,https://sh2:8089,https://sh3:8089" target="_blank"&gt;https://sh1:8089,https://sh2:8089,https://sh3:8089&lt;/A&gt;"&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;(it takes a while)&lt;/P&gt;

&lt;P&gt;then do:&lt;BR /&gt;
&lt;EM&gt;splunk show shcluster-status&lt;/EM&gt;&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Next steps:&lt;BR /&gt;
Go on every Search-Head and create a Stanza called [clustering] in server.conf:&lt;/P&gt;

&lt;P&gt;[clustering]&lt;BR /&gt;
search_server= &lt;A href="https://indexer:8089" target="_blank"&gt;https://indexer:8089&lt;/A&gt;&lt;BR /&gt;
mode = searchhead&lt;BR /&gt;
pass4SymmKey = e.g.:splunkisawesome&lt;/P&gt;

&lt;P&gt;Then execute:&lt;BR /&gt;
&lt;EM&gt;restart splunk&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Try it out! Sometime this does the trick already.&lt;/STRONG&gt;&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;If not... and I don't know why this only happens occasionaly do these steps as well:&lt;/P&gt;

&lt;P&gt;Now you need to setup authentication for the Indexers:&lt;/P&gt;

&lt;P&gt;Copy via scp (or other) every "trusted.pem" from every SH:&lt;BR /&gt;
/opt/splunk/etc/auth/distServerKeys/trusted.pem&lt;/P&gt;

&lt;P&gt;to the indexers into the corresponding file:&lt;BR /&gt;
 $SplunkHome/etc/auth/distServerKeys//&lt;BR /&gt;
 $SplunkHome/etc/auth/distServerKeys//&lt;BR /&gt;
 $SplunkHome/etc/auth/distServerKeys//&lt;/P&gt;

&lt;P&gt;(if those directories arent there create them)&lt;/P&gt;

&lt;P&gt;Restart indexer&lt;BR /&gt;
&lt;EM&gt;splunk restart&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;HOPE THIS HELPS &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
Just ask, if you have any further questions.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:25:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254468#M9628</guid>
      <dc:creator>horsefez</dc:creator>
      <dc:date>2020-09-29T11:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly connect a search head cluster to a search peer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254469#M9629</link>
      <description>&lt;P&gt;Maybe also have a look here&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/DistSearch/Configuredistributedsearch#Edit_distsearch.conf"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/DistSearch/Configuredistributedsearch#Edit_distsearch.conf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 05:04:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254469#M9629</guid>
      <dc:creator>horsefez</dc:creator>
      <dc:date>2016-10-14T05:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly connect a search head cluster to a search peer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254470#M9630</link>
      <description>&lt;P&gt;Yes, there is a distsearch.conf in the $SplunkHome/etc/system/local/ directory on each search head:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunk@lelsplunksh02 ~]$ cat ~/etc/system/local/distsearch.conf
[distributedSearch]
servers = &lt;A href="https://lelsplunkix01.lehi.micron.com:8089" target="test_blank"&gt;https://lelsplunkix01.lehi.micron.com:8089&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;They are exactly the same on each search head. I'm going to try your next steps to see if that fixes the problem.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 13:48:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254470#M9630</guid>
      <dc:creator>zipmaster07</dc:creator>
      <dc:date>2016-10-14T13:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly connect a search head cluster to a search peer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254471#M9631</link>
      <description>&lt;P&gt;I think i'm getting closer. I've gone through the above steps and I'm getting an error now when I connect to the web interface of my search head cluster:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;The searchhead is unable to update the peer information. Error = 'Unable to reach master'.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And I can see this in the log on the search head captain:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;10-14-2016 09:24:21.121 -0600 ERROR ClusteringMgr - VerifyMultisiteConfig failed Error=failed method=GET path=/services/cluster/master/info/?output_mode=json master=? rv=0 actual_response_code=502 expected_response_code=200 status_line="Error resolving: Name or service not known" socket_error="Cannot resolve hostname"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've switch to using all IP addresses, so I'm not sure what hostname it cannot resolve. Here is what one of my server.conf files is currently looking like at the moment:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunk@lelsplunksh03 ~]$ cat ~/etc/system/local/server.conf
[general]
serverName = lelsplunksh03
pass4SymmKey = $1$lwa1+e7fvdG8

[sslConfig]
sslKeysfilePassword = $1$wbrhsiub9Bgw

[lmpool:auto_generated_pool_download-trial]
description = auto_generated_pool_download-trial
quota = MAX
slaves = *
stack_id = download-trial

[lmpool:auto_generated_pool_forwarder]
description = auto_generated_pool_forwarder
quota = MAX
slaves = *
stack_id = forwarder

[lmpool:auto_generated_pool_free]
description = auto_generated_pool_free
quota = MAX
slaves = *
stack_id = free

[replication_port://34567]

[shclustering]
conf_deploy_fetch_url = &lt;A href="https://10.192.88.27:8089" target="test_blank"&gt;https://10.192.88.27:8089&lt;/A&gt;
disabled = 0
mgmt_uri = &lt;A href="https://lelsplunksh03.lehi.micron.com:8089" target="test_blank"&gt;https://lelsplunksh03.lehi.micron.com:8089&lt;/A&gt;
pass4SymmKey = $1$m5u8/t4toaFEoGHz
shcluster_label = leshcluster01
id = 3C3740AF-9647-442D-BB08-9AE318070A85

[clustering]
search_server = &lt;A href="https://10.192.88.157:8089" target="test_blank"&gt;https://10.192.88.157:8089&lt;/A&gt;
mode = searchhead
pass4SymmKey = $1$mfu4/tS1GkFIot0z
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And I've changed my distsearch.conf file too:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunk@lelsplunksh03 ~]$ cat ~/etc/system/local/distsearch.conf
[distributedSearch]
servers = &lt;A href="https://10.192.88.157:8089" target="test_blank"&gt;https://10.192.88.157:8089&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Oct 2016 15:36:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254471#M9631</guid>
      <dc:creator>zipmaster07</dc:creator>
      <dc:date>2016-10-14T15:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly connect a search head cluster to a search peer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254472#M9632</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I think I know why my instruction isn't 100% correct on your case.&lt;/P&gt;

&lt;P&gt;I had a deployment of 3 SH's (clustered) joining 2 Indexers (clustered).&lt;BR /&gt;
Besides that I had a server with "Master" functionality for the indexer-cluster&lt;BR /&gt;
and a "Deployer" for the search-head cluster.&lt;/P&gt;

&lt;P&gt;Hope you don't get me wrong on this, but you do have configured a deployer for your Searchhead-Cluster before right?&lt;BR /&gt;
conf_deploy_fetch_url = &lt;A href="https://10.192.88.27:8089" target="_blank"&gt;https://10.192.88.27:8089&lt;/A&gt; (this should be the deployer)&lt;/P&gt;

&lt;P&gt;I think you have so lets continue:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[clustering]
search_server= https://indexer:8089
mode = searchhead
pass4SymmKey = e.g.:splunkisawesome
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This part of my answer I'm not sure about if it is applicable to your case.&lt;BR /&gt;
Maybe try again the CLI command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk add search-server &amp;lt;scheme&amp;gt;://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt; -auth &amp;lt;user&amp;gt;:&amp;lt;password&amp;gt; -remoteUsername &amp;lt;user&amp;gt; -remotePassword &amp;lt;passremote&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:25:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254472#M9632</guid>
      <dc:creator>horsefez</dc:creator>
      <dc:date>2020-09-29T11:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly connect a search head cluster to a search peer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254473#M9633</link>
      <description>&lt;P&gt;Yes, I have a dedicated deployer for my search head cluster.&lt;/P&gt;

&lt;P&gt;I did already remove the [clustering] stanza and that error when away. I'm not doing any clustering on the indexer, I actually only have one at the moment. I did just do that splunk add search-server command on all three search head members and now I'm back to the original problem: I get no results when I search.&lt;/P&gt;

&lt;P&gt;I'm spinning up a test indexer right now and I'm going to switch my search head cluster over to that to see if I get the same problem. If I don't then I know it has something to do with my original indexer.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 16:43:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254473#M9633</guid>
      <dc:creator>zipmaster07</dc:creator>
      <dc:date>2016-10-14T16:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly connect a search head cluster to a search peer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254474#M9634</link>
      <description>&lt;P&gt;Hmmmm "sh#t" this sound really wierd &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
I was looking into the config files today, tried to figure out why its more difficult to connect non-cluster to cluster than two clusterd environments and I find it kind of sad, that the splunk docs are in that regard very uninformative about this task. &lt;/P&gt;

&lt;P&gt;Hope the test-indexer brings in any new insights! I would love to hear about your solution, pls keep me (us) updated!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 16:49:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254474#M9634</guid>
      <dc:creator>horsefez</dc:creator>
      <dc:date>2016-10-14T16:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly connect a search head cluster to a search peer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254475#M9635</link>
      <description>&lt;P&gt;You might want to double check the management port on your indexer, to make sure that it's 8089. &lt;/P&gt;

&lt;P&gt;See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Admin/Changedefaultvalues#Use_Splunk_Web_2"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/Admin/Changedefaultvalues#Use_Splunk_Web_2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 17:30:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254475#M9635</guid>
      <dc:creator>Steve_G_</dc:creator>
      <dc:date>2016-10-14T17:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly connect a search head cluster to a search peer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254476#M9636</link>
      <description>&lt;P&gt;Yes, the indexer is listening on 8089. This is my production indexer:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunk@lelsplunkix01 ~]$ netstat -tupan | grep 8089
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:8089            0.0.0.0:*               LISTEN      4015/splunkd
tcp        0      0 10.192.88.157:8089      10.192.88.149:9393      ESTABLISHED 4015/splunkd
tcp        0      0 10.192.88.157:8089      10.192.88.105:13056     ESTABLISHED 4015/splunkd
tcp        0      0 10.192.88.157:46334     10.192.88.156:8089      ESTABLISHED 4015/splunkd
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I can telnet to that server on that port as well from my search head members.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 19:00:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254476#M9636</guid>
      <dc:creator>zipmaster07</dc:creator>
      <dc:date>2016-10-14T19:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly connect a search head cluster to a search peer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254477#M9637</link>
      <description>&lt;P&gt;Well this is embarrassing, looks like the search head members were connected to the indexer and were able to get data back, but the query I was using to test was not working.&lt;/P&gt;

&lt;P&gt;When I run the below search, from the web gui, from the search &amp;amp; reporting app, I get nothing on the search head cluster:&lt;/P&gt;

&lt;P&gt;host=lelsyslog*&lt;/P&gt;

&lt;P&gt;But, if I run this then I do get results back:&lt;/P&gt;

&lt;P&gt;index=* host=lelsyslog*&lt;/P&gt;

&lt;P&gt;Why would my cluster refuse to return data when I have one parameter in the search? On top of that, when I run the same search (host=lelsyslog*)  directly on the indexer, it does return data.&lt;/P&gt;

&lt;P&gt;What tipped me off to this was when I setup the test indexer. I was getting the exact same problem. I setup two quick VM's; one as an indexer, the other to put a forwarder on. After I setup the forwarder and created a simple app to just grab /var/log/messages, I wasn't seeing any data. I thought it might have been because I didn't set something up right, but on a whim, I searched off of index=* and I got results back. I then searched off host and got nothing back, even though that exact host was in the results when I searched off index.&lt;/P&gt;

&lt;P&gt;Can someone tell me how to fix this, it almost seems like a configuration issue.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 22:36:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254477#M9637</guid>
      <dc:creator>zipmaster07</dc:creator>
      <dc:date>2016-10-14T22:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly connect a search head cluster to a search peer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254478#M9638</link>
      <description>&lt;P&gt;I downvoted this post because the problem that the user had was not with establishing connectivity between search heads and search peers.  rather, the problem was with the query used to test connectivity.  the accepted answer provided a procedure tht, if followed by others, would cause them to completely rebuild their search head cluster, among other issues.   &lt;/P&gt;

&lt;P&gt;this answer should be removed, as it could easily mislead anyone who does have search peer connectivity issues.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 16:00:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-properly-connect-a-search-head-cluster-to-a-search-peer/m-p/254478#M9638</guid>
      <dc:creator>Steve_G_</dc:creator>
      <dc:date>2016-10-17T16:00:25Z</dc:date>
    </item>
  </channel>
</rss>

