<?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: Why is search head cluster not showing the search head members? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-search-head-cluster-not-showing-the-search-head-members/m-p/317058#M11976</link>
    <description>&lt;P&gt;Like @somesoni2 mentioned. You need atleast 3 members to form a cluster&lt;/P&gt;

&lt;P&gt;Required number of instances&lt;BR /&gt;
The cluster must contain at a minimum the number of members needed to fulfill both of these requirements:&lt;/P&gt;

&lt;P&gt;Three members, so that the cluster can continue to function if one member goes down. See Captain election process has deployment implications.&lt;BR /&gt;
 The replication factor number of instances. See Choose the replication factor for the search head cluster.&lt;BR /&gt;
For example, if your replication factor is either 2 or 3, you need at least three instances. If your replication factor is 5, you need at least five instances.&lt;/P&gt;

&lt;P&gt;You can optionally add more members to boost search and user capacity.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.3/DistSearch/SHCsystemrequirements"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.3/DistSearch/SHCsystemrequirements&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Apr 2017 16:55:16 GMT</pubDate>
    <dc:creator>pradeepkumarg</dc:creator>
    <dc:date>2017-04-10T16:55:16Z</dc:date>
    <item>
      <title>Why is search head cluster not showing the search head members?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-search-head-cluster-not-showing-the-search-head-members/m-p/317055#M11973</link>
      <description>&lt;P&gt;I am not able to view search head members in the Members listed. I have 2 search head nodes one acting as captain (xxxxxxx02) and other acting as member. But I don't see the member listed when I run the shcluster-status (output provided below) from the member node (xxxxxx01). I am not sure if the member is part of search head clustering.&lt;/P&gt;

&lt;P&gt;[root@xxxxx01 users]# /opt/splunk/bin/splunk show shcluster-status&lt;BR /&gt;
In handler 'shclusterstatus': Node is not captain. Current captain = &lt;A href="https://xxxxx02:8089" target="_blank"&gt;https://xxxxx02:8089&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;[root@xxxxxx01 users]# /opt/splunk/bin/splunk show shcluster-status&lt;/P&gt;

&lt;P&gt;Captain:&lt;BR /&gt;
                          dynamic_captain : 1&lt;BR /&gt;
                          elected_captain : Mon Apr 10 14:17:22 2017&lt;BR /&gt;
                                       id : 85C9FA62-9AE7-47E5-A7D6-D114C2B15BCC&lt;BR /&gt;
                         initialized_flag : 0&lt;BR /&gt;
                                    label : xxxxxxxx02&lt;BR /&gt;
                                 mgmt_uri : &lt;A href="https://xxxxx02:8089" target="_blank"&gt;https://xxxxx02:8089&lt;/A&gt;&lt;BR /&gt;
                    min_peers_joined_flag : 0&lt;BR /&gt;
                     rolling_restart_flag : 0&lt;BR /&gt;
                       service_ready_flag : 0&lt;/P&gt;

&lt;P&gt;Members:&lt;BR /&gt;
        xxxxxxx02&lt;BR /&gt;
                                    label : xxxxxxx02&lt;BR /&gt;
                                 mgmt_uri : &lt;A href="https://xxxx02:8089" target="_blank"&gt;https://xxxx02:8089&lt;/A&gt;&lt;BR /&gt;
                           mgmt_uri_alias : &lt;A href="https://xxxxx02:8089" target="_blank"&gt;https://xxxxx02:8089&lt;/A&gt;&lt;BR /&gt;
                                   status : Up&lt;/P&gt;

&lt;P&gt;I get the same status output from the Captain node (xxxxx02) which doesn't show the server - xxxxx01 listed as the member. How do I confirm if the clustering is setup properly and if both nodes are under search head clustering?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:35:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-search-head-cluster-not-showing-the-search-head-members/m-p/317055#M11973</guid>
      <dc:creator>dhawal_sanghvi</dc:creator>
      <dc:date>2020-09-29T13:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why is search head cluster not showing the search head members?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-search-head-cluster-not-showing-the-search-head-members/m-p/317056#M11974</link>
      <description>&lt;P&gt;The search cluster requires a minimun of 3 members. Do you have 3 nodes or you're trying with just two?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 15:33:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-search-head-cluster-not-showing-the-search-head-members/m-p/317056#M11974</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-04-10T15:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why is search head cluster not showing the search head members?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-search-head-cluster-not-showing-the-search-head-members/m-p/317057#M11975</link>
      <description>&lt;P&gt;I am using only 2 search head one as Captain and one as member. &lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 16:50:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-search-head-cluster-not-showing-the-search-head-members/m-p/317057#M11975</guid>
      <dc:creator>dhawal_sanghvi</dc:creator>
      <dc:date>2017-04-10T16:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why is search head cluster not showing the search head members?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-search-head-cluster-not-showing-the-search-head-members/m-p/317058#M11976</link>
      <description>&lt;P&gt;Like @somesoni2 mentioned. You need atleast 3 members to form a cluster&lt;/P&gt;

&lt;P&gt;Required number of instances&lt;BR /&gt;
The cluster must contain at a minimum the number of members needed to fulfill both of these requirements:&lt;/P&gt;

&lt;P&gt;Three members, so that the cluster can continue to function if one member goes down. See Captain election process has deployment implications.&lt;BR /&gt;
 The replication factor number of instances. See Choose the replication factor for the search head cluster.&lt;BR /&gt;
For example, if your replication factor is either 2 or 3, you need at least three instances. If your replication factor is 5, you need at least five instances.&lt;/P&gt;

&lt;P&gt;You can optionally add more members to boost search and user capacity.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.3/DistSearch/SHCsystemrequirements"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.3/DistSearch/SHCsystemrequirements&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 16:55:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-search-head-cluster-not-showing-the-search-head-members/m-p/317058#M11976</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2017-04-10T16:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why is search head cluster not showing the search head members?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-search-head-cluster-not-showing-the-search-head-members/m-p/317059#M11977</link>
      <description>&lt;P&gt;I have now 3 nodes ( 2 Search head members and 1 Captain) but still I don't get the SHC members listed when I run the status command from the members. It just shows the Captain as shown below.&lt;/P&gt;

&lt;P&gt;[root@muw1splmonpin01 cortana]# /opt/splunk/bin/splunk &lt;STRONG&gt;show shcluster-status&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Captain:&lt;BR /&gt;
                          dynamic_captain : 1&lt;BR /&gt;
                          elected_captain : Tue Apr 11 10:25:15 2017&lt;BR /&gt;
                                       id : 85C9FA62-9AE7-47E5-A7D6-D114C2B15BCC&lt;BR /&gt;
                         initialized_flag : 0&lt;BR /&gt;
                                    label : muw1splmonpin02&lt;BR /&gt;
                                 mgmt_uri : &lt;A href="https://10.142.98.6:8089" target="_blank"&gt;https://10.142.98.6:8089&lt;/A&gt;&lt;BR /&gt;
                    min_peers_joined_flag : 0&lt;BR /&gt;
                     rolling_restart_flag : 0&lt;BR /&gt;
                       service_ready_flag : 0&lt;/P&gt;

&lt;P&gt;Members:&lt;BR /&gt;
        muw1splmonpin02&lt;BR /&gt;
                                    label : muw1splmonpin02&lt;BR /&gt;
                                 mgmt_uri : &lt;A href="https://10.142.98.6:8089" target="_blank"&gt;https://10.142.98.6:8089&lt;/A&gt;&lt;BR /&gt;
                           mgmt_uri_alias : &lt;A href="https://10.142.98.6:8089" target="_blank"&gt;https://10.142.98.6:8089&lt;/A&gt;&lt;BR /&gt;
                                   status : Up&lt;/P&gt;

&lt;P&gt;**&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Splunkd.log from the Captain Node showing errors:&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;**&lt;BR /&gt;
04-11-2017 10:30:12.530 +0000 INFO  SHCMaster - event=heartbeat guid=4FCA0F9D-CA10-4A83-8593-3CC0EBDB2868 msg='signaling Initial-Add (received heartbeat from Down peer)'&lt;/P&gt;

&lt;P&gt;04-11-2017 10:30:12.559 +0000 ERROR SHCMasterPeerHandler - Cannot add peer=10.142.98.5 mgmtport=8089 (reason: removeOldPeer peer=4FCA0F9D-CA10-4A83-8593-3CC0EBDB2868, &lt;STRONG&gt;serverName=muw1splmonpin01&lt;/STRONG&gt;, hostport=10.142.98.5:8089, but found different peer=4FCA0F9D-CA10-4A83-8593-3CC0EBDB2868 with serverName=muw1splmonpin02 and hostport=10.142.98.6:8089 already registered and UP)&lt;/P&gt;

&lt;P&gt;04-11-2017 10:30:16.435 +0000 INFO  SHCMaster - event=heartbeat guid=4FCA0F9D-CA10-4A83-8593-3CC0EBDB2868 msg='signaling Initial-Add (received heartbeat from Down peer)'&lt;/P&gt;

&lt;P&gt;04-11-2017 10:30:16.445 +0000 ERROR SHCMasterPeerHandler - Cannot add peer=10.142.98.7 mgmtport=8089 (reason: removeOldPeer peer=4FCA0F9D-CA10-4A83-8593-3CC0EBDB2868, &lt;STRONG&gt;serverName=muw1splmonpin03&lt;/STRONG&gt;, hostport=10.142.98.7:8089, but found different peer=4FCA0F9D-CA10-4A83-8593-3CC0EBDB2868 with serverName=muw1splmonpin02 and hostport=10.142.98.6:8089 already registered and UP)&lt;/P&gt;

&lt;P&gt;**&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Splunkd log from one of the Member showing warning and error:&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;**&lt;/P&gt;

&lt;P&gt;04-11-2017 10:35:38.132 +0000 INFO  SHCSlave - event=SHPSlave::addPreexistingArtifacts alive_sids=0 done_sids=0 notdone_sids(skipped)=0 artifacts=0 replicas=0&lt;BR /&gt;
04-11-2017 10:35:38.136 +0000 WARN  SHCMasterHTTPProxy - Low Level http request failure err=failed method=POST path=/services/shcluster/captain/members captain=10.142.98.6:8089 rc=0 actual_response_code=500 expected_response_code=201 status_line="Internal Server Error" transaction_error="\n  \n    \n In handler 'shclustercaptainmembers': Cannot add peer=10.142.98.7 mgmtport=8089 (reason: removeOldPeer peer=4FCA0F9D-CA10-4A83-8593-3CC0EBDB2868, serverName=muw1splmonpin03, hostport=10.142.98.7:8089, but found different peer=4FCA0F9D-CA10-4A83-8593-3CC0EBDB2868 with serverName=muw1splmonpin02 and hostport=10.142.98.6:8089 already registered and UP)\n  \n\n"&lt;/P&gt;

&lt;P&gt;04-11-2017 10:35:38.136 +0000 INFO  SHCSlave - readd + haveMinPeersJoined failed err=failed method=POST path=/services/shcluster/captain/members captain=10.142.98.6:8089 rc=0 actual_response_code=500 expected_response_code=201 status_line="Internal Server Error" transaction_error="\n  \n    \n In handler 'shclustercaptainmembers': Cannot add peer=10.142.98.7 mgmtport=8089 (reason: removeOldPeer peer=4FCA0F9D-CA10-4A83-8593-3CC0EBDB2868, serverName=muw1splmonpin03, hostport=10.142.98.7:8089, but found different peer=4FCA0F9D-CA10-4A83-8593-3CC0EBDB2868 with serverName=muw1splmonpin02 and hostport=10.142.98.6:8089 already registered and UP)\n  \n\n" but proxy is connected. Either add-peer failed on captain, or we must be one of the early members joining the new captain&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:36:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-search-head-cluster-not-showing-the-search-head-members/m-p/317059#M11977</guid>
      <dc:creator>dhawal_sanghvi</dc:creator>
      <dc:date>2020-09-29T13:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why is search head cluster not showing the search head members?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-is-search-head-cluster-not-showing-the-search-head-members/m-p/317060#M11978</link>
      <description>&lt;P&gt;I have 3 node SH cluster , I want to confirm if 2 of my nodes failed - does the cluster (with the remaining 1 node) can able to accept the new search requests ?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 09:27:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-is-search-head-cluster-not-showing-the-search-head-members/m-p/317060#M11978</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2018-03-22T09:27:20Z</dc:date>
    </item>
  </channel>
</rss>

