<?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 am I getting Search Head Cluster Captain bootstrap error  &amp;quot;Raft not initialized&amp;quot;? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136510#M5120</link>
    <description>&lt;P&gt;Have you performed the restart on all of the members and has a captain been succesfully nominated?&lt;/P&gt;

&lt;P&gt;./splunk show shcluster-status from the members.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Feb 2015 01:00:45 GMT</pubDate>
    <dc:creator>esix_splunk</dc:creator>
    <dc:date>2015-02-13T01:00:45Z</dc:date>
    <item>
      <title>Why am I getting Search Head Cluster Captain bootstrap error  "Raft not initialized"?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136509#M5119</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;I get the following error message when bootstraping my Search Head Cluster Captain:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;In handler 'shclustermemberconsensus': Raft not initialized. This means that dynamic captain mode was not set in server.conf&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;./splunk bootstrap shcluster-captain -servers_list "&lt;A href="https://x.x.x.x:8089"&gt;https://x.x.x.x:8089&lt;/A&gt;, &lt;A href="https://x.x.x.x:8089"&gt;https://x.x.x.x:8089&lt;/A&gt;, &lt;A href="https://x.x.x.x:8089"&gt;https://x.x.x.x:8089&lt;/A&gt;, &lt;A href="https://x.x.x.x:808"&gt;https://x.x.x.x:808&lt;/A&gt;"&lt;/P&gt;

&lt;P&gt;I have connectivity between SH Heads and Captain, and have followed the documentation. All the searchheads have been initialized correctly and report: &lt;BR /&gt;
&lt;EM&gt;Search head clustering has been initialized on this node.&lt;BR /&gt;
You need to restart the Splunk Server (splunkd) for your changes to take effect.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Here is the output from a show cluster status on the deployer&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;root@Deployer:/opt/splunk/bin# ./splunk show shcluster-status&lt;BR /&gt;
In handler 'shclusterstatus': Search Head Clustering is not enabled on this node. REST endpoint is not available&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Dose anyone know why RAFT is not initialized? It's a fresh 6.2 64bit Linux tar of Splunk Enterprise.&lt;/P&gt;

&lt;P&gt;Thanks in advance,&lt;BR /&gt;
Chaker&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2015 06:28:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136509#M5119</guid>
      <dc:creator>chaker</dc:creator>
      <dc:date>2015-02-12T06:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting Search Head Cluster Captain bootstrap error  "Raft not initialized"?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136510#M5120</link>
      <description>&lt;P&gt;Have you performed the restart on all of the members and has a captain been succesfully nominated?&lt;/P&gt;

&lt;P&gt;./splunk show shcluster-status from the members.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2015 01:00:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136510#M5120</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2015-02-13T01:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting Search Head Cluster Captain bootstrap error  "Raft not initialized"?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136511#M5121</link>
      <description>&lt;P&gt;I'm glad this was brought up again. I had been &lt;STRONG&gt;incorrectly&lt;/STRONG&gt; trying to bootstrap the Deployer as a captain. As arahut_splunk mentions below, the Deployer is not part of the cluster, and should not be a captain. The correct answer to my original question is provided below by arahut_splunk.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;The splunk show shcluster-status should not be run on the deployer, it needs to be run on one of the 3 cluster members.&lt;BR /&gt;
1.think of the deployer as a separate entity outside the shcluster which needs to be able to communicate with the shcluster (using secret /pass4SymmKey)&lt;BR /&gt;
2.the init step needs to be run on the 3 members. The init step should leave a [shclustering] stanza in your server.conf with correct settings.&lt;BR /&gt;
3.Bootstrap then needs to be run on only 1 of the members.&lt;BR /&gt;
4.As mentioned before the status needs to be checked on only the members.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Old Answer&lt;BR /&gt;
&lt;EM&gt;My mistake was not initializing the Deployer with the ./splunk init shcluster-config command. I was trying to ./splunk bootstrap shcluster-captain without the prior command.&lt;BR /&gt;
I misinterpreted the documentation when reading it.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/DistSearch/SHCdeploymentoverview" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/DistSearch/SHCdeploymentoverview&lt;/A&gt;&lt;BR /&gt;
"This instance cannot be a member of the search head cluster"&lt;BR /&gt;
I misinterpreted this to mean not to initialize the deployer as a cluster member.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:54:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136511#M5121</guid>
      <dc:creator>chaker</dc:creator>
      <dc:date>2020-09-28T18:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting Search Head Cluster Captain bootstrap error  "Raft not initialized"?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136512#M5122</link>
      <description>&lt;P&gt;Should this command be run on the deployer?  I asked this question recently and was told no, but now I'm having the same error message. &lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2015 18:32:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136512#M5122</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2015-03-10T18:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting Search Head Cluster Captain bootstrap error  "Raft not initialized"?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136513#M5123</link>
      <description>&lt;P&gt;No. You should not run the init shcluster-config command on the deployer.  That command is for initializing cluster members only.  A deployer cannot be  a cluster member.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2015 18:40:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136513#M5123</guid>
      <dc:creator>Steve_G_</dc:creator>
      <dc:date>2015-03-10T18:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting Search Head Cluster Captain bootstrap error  "Raft not initialized"?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136514#M5124</link>
      <description>&lt;P&gt;OK, so how does one address the " 'shclustermemberconsensus': Raft not initialized. This means that dynamic captain mode was not set in server.conf" error message.   I don't see that listed in my training notes anywhere. &lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2015 19:08:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136514#M5124</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2015-03-10T19:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting Search Head Cluster Captain bootstrap error  "Raft not initialized"?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136515#M5125</link>
      <description>&lt;P&gt;The splunk show shcluster-status should not be run on the deployer, it needs to be run on one of the 3 cluster members.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;think of the deployer as a separate entity outside the shcluster which needs to be able to communicate with the shcluster (using secret /pass4SymmKey)&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;the init step needs to be run on the 3 members. The init step should leave a [shclustering] stanza in your server.conf with correct settings.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Bootstrap then needs to be run on only 1 of the members.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;As mentioned before the status needs to be checked on only the members.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;If you still have issues if you follow the steps, please holler.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2015 20:54:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136515#M5125</guid>
      <dc:creator>arahut_splunk</dc:creator>
      <dc:date>2015-03-10T20:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting Search Head Cluster Captain bootstrap error  "Raft not initialized"?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136516#M5126</link>
      <description>&lt;P&gt;Before bootsrap, don't forget to restart all your splunk shcluster members after bring up and initialize. It worked for me after restarted.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 00:45:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-Search-Head-Cluster-Captain-bootstrap-error/m-p/136516#M5126</guid>
      <dc:creator>vnguyen46</dc:creator>
      <dc:date>2019-10-31T00:45:29Z</dc:date>
    </item>
  </channel>
</rss>

