<?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 SHC New Member reverts to down after restart in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/SHC-New-Member-reverts-to-down-after-restart/m-p/504823#M17360</link>
    <description>&lt;P&gt;We are attempting to add three nodes to an existing SHC. We are able to add them, however they do not survive a restart without going back to a "DOWN" state. The fix is to stop splunk, clean raft, and add it back. However doing this only changes it's status to "UP" until the next restart.&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk clean raft&lt;BR /&gt;/opt/splunk/bin/splunk start&lt;BR /&gt;/opt/splunk/bin/splunk add shcluster-member -current_member_uri https://&amp;lt;url&amp;gt;:8089&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Any ideas? Should we perform a bootstrap as shown here?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.4/DistSearch/Handleraftissues" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.4/DistSearch/Handleraftissues&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jun 2020 15:54:48 GMT</pubDate>
    <dc:creator>jondukehds</dc:creator>
    <dc:date>2020-06-17T15:54:48Z</dc:date>
    <item>
      <title>SHC New Member reverts to down after restart</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SHC-New-Member-reverts-to-down-after-restart/m-p/504823#M17360</link>
      <description>&lt;P&gt;We are attempting to add three nodes to an existing SHC. We are able to add them, however they do not survive a restart without going back to a "DOWN" state. The fix is to stop splunk, clean raft, and add it back. However doing this only changes it's status to "UP" until the next restart.&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk clean raft&lt;BR /&gt;/opt/splunk/bin/splunk start&lt;BR /&gt;/opt/splunk/bin/splunk add shcluster-member -current_member_uri https://&amp;lt;url&amp;gt;:8089&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Any ideas? Should we perform a bootstrap as shown here?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.4/DistSearch/Handleraftissues" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.4/DistSearch/Handleraftissues&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 15:54:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SHC-New-Member-reverts-to-down-after-restart/m-p/504823#M17360</guid>
      <dc:creator>jondukehds</dc:creator>
      <dc:date>2020-06-17T15:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: SHC New Member reverts to down after restart</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SHC-New-Member-reverts-to-down-after-restart/m-p/505409#M17383</link>
      <description>&lt;P&gt;Is the deployer online and available to these nodes? There does need to be connectivity for the initial join..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding re-adding these, you'll probably want to to do a&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;splunk resync shcluster-replicated-config&lt;/STRONG&gt;&amp;nbsp;&lt;/EM&gt;to force the members to reach out to the captain and replicate configurations. If those members have been out of the cluster for quite some time, more then 24h, you probably should do a full clean on them. See the documentation here on this :&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.4/DistSearch/Addaclustermember#Add_a_member_that_left_the_cluster_without_being_removed_from_it" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.4/DistSearch/Addaclustermember#Add_a_member_that_left_the_cluster_without_being_removed_from_it&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 01:35:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SHC-New-Member-reverts-to-down-after-restart/m-p/505409#M17383</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2020-06-22T01:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: SHC New Member reverts to down after restart</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SHC-New-Member-reverts-to-down-after-restart/m-p/505498#M17384</link>
      <description>&lt;P&gt;Solution -&lt;/P&gt;&lt;P&gt;Our issues were related to RAFT protocol issues,&amp;nbsp; mgmt_uri mismatch and appendentries errors, on the existing members. As suggestion of splunk support we set the SHC to a static captain, which bypasses RAFT, and afterwards everything was fine.&lt;/P&gt;&lt;P&gt;We edited the /opt/splunk/etc/system/local/server.conf to include these entries under [shclustering] to increase timeouts for RAFT and connectivity.&lt;/P&gt;&lt;P&gt;captain_is_adhoc_searchhead = true&lt;BR /&gt;cxn_timeout_raft = 6&lt;BR /&gt;rcv_timeout_raft = 10&lt;BR /&gt;send_timeout_raft = 10&lt;BR /&gt;cxn_timeout = 120&lt;BR /&gt;send_timeout = 120&lt;BR /&gt;rcv_timeout = 120&lt;BR /&gt;election_timeout_ms = 120000&lt;BR /&gt;heartbeat_timeout = 120&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then set a static captain as described here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.4/DistSearch/Staticcaptain" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.4/DistSearch/Staticcaptain&lt;/A&gt;&lt;/P&gt;&lt;P&gt;On captain&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk edit shcluster-config -mode captain -captain_uri https://captainuri:8089 -election false&lt;/P&gt;&lt;P&gt;on members.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/opt/splunk/bin/splunk edit shcluster-config -mode member -captain_uri https://captainuri:8089 -election false&lt;/P&gt;&lt;P&gt;At which point all nodes showed as cluster members successfully.&lt;/P&gt;&lt;P&gt;We then reverted back to dynamic captain, performed a bootstrap and performed a several rolling restarts to confirm members behaved as expected.&lt;/P&gt;&lt;P&gt;run on each member, captain last.&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk edit shcluster-config -election true -mgmt_uri &lt;A href="https://memberurl:8089" target="_blank"&gt;https://memberurl:8089&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Then bootstrap to "rebuild" member entries in KV store .&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk bootstrap shcluster-captain -servers_list &amp;lt;URI&amp;gt;:&amp;lt;management_port&amp;gt;,&amp;lt;URI&amp;gt;:&amp;lt;management_port&amp;gt;."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 13:45:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SHC-New-Member-reverts-to-down-after-restart/m-p/505498#M17384</guid>
      <dc:creator>jondukehds</dc:creator>
      <dc:date>2020-06-22T13:45:05Z</dc:date>
    </item>
  </channel>
</rss>

