<?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 Can you help me with my Search Head Cluster Setup Error?: &amp;quot;Cannot start a Captain&amp;quot; in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Can-you-help-me-with-my-Search-Head-Cluster-Setup-Error-quot/m-p/382090#M13976</link>
    <description>&lt;P&gt;I built up a brand new fresh Splunk environment (on 7.2.1) and am getting an error when attempting to set up the SH cluster.... specifically when starting the cluster captain for the 1st time.&lt;/P&gt;

&lt;P&gt;I started the process on the Deployer, and added the following stanza/values in the /etc/system/local/server.conf file:&lt;/P&gt;

&lt;P&gt;[shclustering]&lt;BR /&gt;
pass4SymmKey = myPassword&lt;BR /&gt;
shcluster_label = myClusterName&lt;/P&gt;

&lt;P&gt;... and restarted the deployer. Confirmed that the plain text password I type in now encrypted (not in plain text)&lt;/P&gt;

&lt;P&gt;I ran the SH cluster init command on all (3) SH members:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin/splunk init shcluster-config -auth admin:myPassword -mgmt_uri &lt;A href="https://myDeploymentServer:8089" target="test_blank"&gt;https://myDeploymentServer:8089&lt;/A&gt; -replication_port 34567 -replication_factor 3 -conf_deploy_fetch_url &lt;A href="https://myDeployer:8089" target="test_blank"&gt;https://myDeployer:8089&lt;/A&gt; -shcluster_label myClusterName
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;... and restarted them. No errors.&lt;/P&gt;

&lt;P&gt;Attempted to start a SH captain (just picked one of the SH members) and ran this command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin/splunk bootstrap shcluster-captain -servers_list "https://mySearchHead1:8089,https://mySearchHead2:8089,https://mySearchHead3:8089" -auth admin:myPassword
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;... and I get this error message:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;uri=https://myDeploymentServer:8089/services/shcluster/member/consensus/pseudoid/last_known_state?output_mode=json, error=401 - Unauthorized. Is this member using the same pass4SymmKey as other members?;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Interesting that it appears to be coming from the deployment server... and I know that the myPassword value is correct. I use that one password all over the place when connecting to the deployment server, setting up the index cluster, etc.&lt;/P&gt;

&lt;P&gt;I noticed that there is a pass4SymmKey under 2 stanza's.. [general] and [shclustering]. Does that matter?&lt;/P&gt;

&lt;P&gt;Any help would be much appreciated. Thank You!&lt;/P&gt;

&lt;P&gt;Joe&lt;/P&gt;</description>
    <pubDate>Thu, 27 Dec 2018 18:48:19 GMT</pubDate>
    <dc:creator>joesrepsolc</dc:creator>
    <dc:date>2018-12-27T18:48:19Z</dc:date>
    <item>
      <title>Can you help me with my Search Head Cluster Setup Error?: "Cannot start a Captain"</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-you-help-me-with-my-Search-Head-Cluster-Setup-Error-quot/m-p/382090#M13976</link>
      <description>&lt;P&gt;I built up a brand new fresh Splunk environment (on 7.2.1) and am getting an error when attempting to set up the SH cluster.... specifically when starting the cluster captain for the 1st time.&lt;/P&gt;

&lt;P&gt;I started the process on the Deployer, and added the following stanza/values in the /etc/system/local/server.conf file:&lt;/P&gt;

&lt;P&gt;[shclustering]&lt;BR /&gt;
pass4SymmKey = myPassword&lt;BR /&gt;
shcluster_label = myClusterName&lt;/P&gt;

&lt;P&gt;... and restarted the deployer. Confirmed that the plain text password I type in now encrypted (not in plain text)&lt;/P&gt;

&lt;P&gt;I ran the SH cluster init command on all (3) SH members:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin/splunk init shcluster-config -auth admin:myPassword -mgmt_uri &lt;A href="https://myDeploymentServer:8089" target="test_blank"&gt;https://myDeploymentServer:8089&lt;/A&gt; -replication_port 34567 -replication_factor 3 -conf_deploy_fetch_url &lt;A href="https://myDeployer:8089" target="test_blank"&gt;https://myDeployer:8089&lt;/A&gt; -shcluster_label myClusterName
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;... and restarted them. No errors.&lt;/P&gt;

&lt;P&gt;Attempted to start a SH captain (just picked one of the SH members) and ran this command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin/splunk bootstrap shcluster-captain -servers_list "https://mySearchHead1:8089,https://mySearchHead2:8089,https://mySearchHead3:8089" -auth admin:myPassword
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;... and I get this error message:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;uri=https://myDeploymentServer:8089/services/shcluster/member/consensus/pseudoid/last_known_state?output_mode=json, error=401 - Unauthorized. Is this member using the same pass4SymmKey as other members?;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Interesting that it appears to be coming from the deployment server... and I know that the myPassword value is correct. I use that one password all over the place when connecting to the deployment server, setting up the index cluster, etc.&lt;/P&gt;

&lt;P&gt;I noticed that there is a pass4SymmKey under 2 stanza's.. [general] and [shclustering]. Does that matter?&lt;/P&gt;

&lt;P&gt;Any help would be much appreciated. Thank You!&lt;/P&gt;

&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 18:48:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-you-help-me-with-my-Search-Head-Cluster-Setup-Error-quot/m-p/382090#M13976</guid>
      <dc:creator>joesrepsolc</dc:creator>
      <dc:date>2018-12-27T18:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with my Search Head Cluster Setup Error?: "Cannot start a Captain"</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-you-help-me-with-my-Search-Head-Cluster-Setup-Error-quot/m-p/382091#M13977</link>
      <description>&lt;P&gt;Check your init command, It should be like this(run on all 3 members but change the mgmt_uri accordingly):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin/splunk init shcluster-config -auth admin:myPassword -mgmt_uri &lt;A href="https://mySearchHead1:8089" target="test_blank"&gt;https://mySearchHead1:8089&lt;/A&gt; -replication_port 34567 -replication_factor 3 -conf_deploy_fetch_url &lt;A href="https://myDeployer:8089" target="test_blank"&gt;https://myDeployer:8089&lt;/A&gt; -shcluster_label myClusterName
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Dec 2018 03:29:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-you-help-me-with-my-Search-Head-Cluster-Setup-Error-quot/m-p/382091#M13977</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-12-28T03:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with my Search Head Cluster Setup Error?: "Cannot start a Captain"</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-you-help-me-with-my-Search-Head-Cluster-Setup-Error-quot/m-p/382092#M13978</link>
      <description>&lt;P&gt;That looks exactly like my command in the original post... I dont see any difference in your command?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 18:07:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-you-help-me-with-my-Search-Head-Cluster-Setup-Error-quot/m-p/382092#M13978</guid>
      <dc:creator>joesrepsolc</dc:creator>
      <dc:date>2018-12-28T18:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with my Search Head Cluster Setup Error?: "Cannot start a Captain"</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-you-help-me-with-my-Search-Head-Cluster-Setup-Error-quot/m-p/382093#M13979</link>
      <description>&lt;P&gt;Oops... i found it. THANK YOU. Worked just like it was supposed to with that change.&lt;/P&gt;

&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 18:47:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-you-help-me-with-my-Search-Head-Cluster-Setup-Error-quot/m-p/382093#M13979</guid>
      <dc:creator>joesrepsolc</dc:creator>
      <dc:date>2018-12-28T18:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with my Search Head Cluster Setup Error?: "Cannot start a Captain"</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Can-you-help-me-with-my-Search-Head-Cluster-Setup-Error-quot/m-p/382094#M13980</link>
      <description>&lt;P&gt;I was not referring to the SEARCH HEAD in the -mgmt_uri section... my mistake. Working great now.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 22:42:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Can-you-help-me-with-my-Search-Head-Cluster-Setup-Error-quot/m-p/382094#M13980</guid>
      <dc:creator>joesrepsolc</dc:creator>
      <dc:date>2018-12-28T22:42:16Z</dc:date>
    </item>
  </channel>
</rss>

