<?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: Search head cluster cluster rolling restart issue in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Search-head-cluster-cluster-rolling-restart-issue/m-p/301749#M11384</link>
    <description>&lt;P&gt;Can you post the results of &lt;CODE&gt;splunk show shcluster-status&lt;/CODE&gt;?&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2017 12:18:16 GMT</pubDate>
    <dc:creator>lycollicott</dc:creator>
    <dc:date>2017-04-04T12:18:16Z</dc:date>
    <item>
      <title>Search head cluster cluster rolling restart issue</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Search-head-cluster-cluster-rolling-restart-issue/m-p/301748#M11383</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am having an issue with my SH cluster.. Was working fine, now there are no members. Captain is elected dynamically. All of the _flag options are 0 under the status. It seems as though none of the peers want to join. There are no errors in splunkd that imply there is a problem or related to an issue with this. If it were an issue with a pass4SymmKey change this would be represented in the logs surely?&lt;/P&gt;

&lt;P&gt;Any thoughts ?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 09:55:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Search-head-cluster-cluster-rolling-restart-issue/m-p/301748#M11383</guid>
      <dc:creator>mwdbhyat</dc:creator>
      <dc:date>2017-04-04T09:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Search head cluster cluster rolling restart issue</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Search-head-cluster-cluster-rolling-restart-issue/m-p/301749#M11384</link>
      <description>&lt;P&gt;Can you post the results of &lt;CODE&gt;splunk show shcluster-status&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 12:18:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Search-head-cluster-cluster-rolling-restart-issue/m-p/301749#M11384</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2017-04-04T12:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Search head cluster cluster rolling restart issue</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Search-head-cluster-cluster-rolling-restart-issue/m-p/301750#M11385</link>
      <description>&lt;P&gt;Captain:&lt;BR /&gt;
dynamic_captain : 1&lt;BR /&gt;
elected_captain : captain&lt;BR /&gt;
id : id&lt;BR /&gt;
initializaed_flag : 0&lt;BR /&gt;
label : label &lt;BR /&gt;
mgmt_uri : uri&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;/P&gt;

&lt;P&gt;..Doesnt list anything. When I restart the captain, it will elect a new captain as normal, however it never displays any members/no members join.. Nothing in the DMC either. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:27:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Search-head-cluster-cluster-rolling-restart-issue/m-p/301750#M11385</guid>
      <dc:creator>mwdbhyat</dc:creator>
      <dc:date>2020-09-29T13:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Search head cluster cluster rolling restart issue</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Search-head-cluster-cluster-rolling-restart-issue/m-p/301751#M11386</link>
      <description>&lt;P&gt;Fixed using the following method:&lt;BR /&gt;
Rebuilt the SHC using the KVstore from one of the members.&lt;BR /&gt;
Followed the following steps:&lt;BR /&gt;
1. *Stop all SHC members and copy the kvstore    *cd $SPLUNK_HOME/var/lib/splunk/kvstore   tar cvfz kvstore-.tar.gz *  Move to a safe place. &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;EM&gt;Remove configuration of the cluster from all members&lt;/EM&gt;. Since some were not part of the cluster and some that were part of the cluster did not exist we could not use the remove CLI.  Delete [shclustering] stanza from server.conf&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;Clean raft and mongod folders      *rm -rf $SPLUNK_HOME/var/run/splunk/_raft/&lt;/EM&gt;    rm -rf $SPLUNK_HOME/var/lib/splunk/kvstore/mongo/* 
4.* Verify all members have replication_factor *= 3      $SPLUNK_HOME/bin/splunk btool server list shclustering | grep replication_factor&lt;/LI&gt;
&lt;LI&gt;*Start all members     *$SPLUNK_HOME/bin/splunk start&lt;/LI&gt;
&lt;LI&gt;*Initialize all members *(Note: Use command to deploy SHC with Indexer cluster if SHC is part of IDX Cluster)     splunk init shcluster-config -auth admin:changed -mgmt_uri &lt;A href="https://sh1.example.com:8089" target="_blank"&gt;https://sh1.example.com:8089&lt;/A&gt; -replication_port 34567 -replication_factor 3 -conf_deploy_fetch_url https://:8089 -secret mykey -shcluster_label shcluster1&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;ONLY on member that will be first captain&lt;/EM&gt;. Restore kvstore.      $SPLUNK_HOME/bin/splunk stop    cd $SPLUNK_HOME/var/lib/splunk/kvstore    tar xvfz /kvstore-.tar.gz    $SPLUNK_HOME/bin/splunk clean kvstore --cluster    $SPLUNK_HOME/bin/splunk start&lt;/LI&gt;
&lt;LI&gt;*Bootstrap first member    *splunk bootstrap shcluster-captain -servers_list ":" -auth : &lt;/LI&gt;
&lt;LI&gt;*Verify kvstore *is working fine and available     splunk show shcluster-status -auth :&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;Add the rest of the members to the cluster     *splunk add shcluster-member current_member_uri "&lt;A href="https://hostname:mngmt_port" target="_blank"&gt;https://hostname:mngmt_port&lt;/A&gt;"  (if its a new member change "current", to "new", if new, it must be done from Captain, if existing it must be done from the host itself).
*Afterwards&lt;/EM&gt; a resync of config bundle may need to be done. Check status on DMC for this. If so run command /opt/splunk/bin/splunk resync shcluster-replicated-config&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:27:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Search-head-cluster-cluster-rolling-restart-issue/m-p/301751#M11386</guid>
      <dc:creator>mwdbhyat</dc:creator>
      <dc:date>2020-09-29T13:27:40Z</dc:date>
    </item>
  </channel>
</rss>

