<?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 are there errors when configuring search head clustering with a deployer? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-there-errors-when-configuring-search-head-clustering/m-p/420820#M15001</link>
    <description>&lt;P&gt;@Prakash493,&lt;BR /&gt;
    Few points that you need to notice.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;You should not update passSymmKey under [general]&lt;/LI&gt;
&lt;LI&gt;You should not add encrypted passSymmKey under [shcluster], instead you need to add passKey in normal characters and do splunk restart, splunk will encrypt that.&lt;/LI&gt;
&lt;LI&gt;Your searchhead cluster need also to be connected with indexer cluster for that you need to add [clustering] same as you might have done on indexer.&lt;/LI&gt;
&lt;LI&gt;Rest steps are okay about choosing captain and all.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Check if you did something wrong and redeploy the shcluster.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2019 13:57:01 GMT</pubDate>
    <dc:creator>VatsalJagani</dc:creator>
    <dc:date>2019-04-23T13:57:01Z</dc:date>
    <item>
      <title>Why are there errors when configuring search head clustering with a deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-there-errors-when-configuring-search-head-clustering/m-p/420818#M14999</link>
      <description>&lt;P&gt;Hi , I am configuring a search head clustering with a deployer but ran in many issues:&lt;BR /&gt;
as per the Splunk docs these are the steps I did :&lt;/P&gt;

&lt;P&gt;First I set the search head deployer:&lt;BR /&gt;
I have added a pass4symmkey on deployer under shcluster stanza&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[general]
serverName = sh2
pass4SymmKey = $1$ir3GnxLQSyQCIHmqN+mx
[shclustering]
pass4SymmKey = $1$1WrJE7i8jQ+THZ0MWxYh
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I kept this same key across all search heads on server.conf  ([shclustering]&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;pass4SymmKey = $1$1WrJE7i8jQ+THZ0MWxYh) 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Setting up search head cluster:&lt;BR /&gt;
I ran this command in all search heads (total 3):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;./splunk init shcluster-config -auth admin:password -mgmt_uri "https://vvvvv:8089" -replication_port 8079 -replication_factor 3 -conf_deploy_fetch_url &lt;A href="https:/" target="test_blank"&gt;https:///&lt;/A&gt; (deployer_ip_address):8089 -secret  -shcluster_label 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I run this command in all search heads (Total 3)&lt;BR /&gt;
then I did restart.&lt;/P&gt;

&lt;P&gt;Choosing captain:&lt;BR /&gt;
after completing all the above steps I choose any one search head to make a captain;&lt;/P&gt;

&lt;P&gt;Then I run this command :  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;./splunk bootstrap shcluster-captain -servers_list "URI:8089". -autgh admin:password
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But after running its saying , &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;error=This node seems to have already joined another cluster with below members: 'https://xxxx:8089'. First remove the member from the old cluster. Then run 'splunk clean
 raft' on the member to reuse it in a new cluster; server=https://xxxxx:8089, error=This node seems to have already joined another cluster with below members: 'https://xxxxx:8089'. First remove the me
mber from the old cluster. Then run 'splunk clean raft' on the member to reuse it in a new cluster.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am not clear why I am getting this error first time I am setting on these new servers , when I am running to make a captain getting this error. Please help me&lt;/P&gt;

&lt;P&gt;2) And what the difference between general pass4symmkey and shcluster pass4symmkey , my pass4symmkey the shclustering one is same across all cluster members not the pass4symmkey which is under general stanza , which one should need to same across all search heads ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2019 17:01:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-there-errors-when-configuring-search-head-clustering/m-p/420818#M14999</guid>
      <dc:creator>Prakash493</dc:creator>
      <dc:date>2019-04-20T17:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why are there errors when configuring search head clustering with a deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-there-errors-when-configuring-search-head-clustering/m-p/420819#M15000</link>
      <description>&lt;P&gt;Not sure if your issue is resolved. I assume you are following steps as per &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/DistSearch/SHCdeploymentoverview"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/DistSearch/SHCdeploymentoverview&lt;/A&gt;&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;pls note that the security_key (pass4SymmKey) under shclustering stanza is used and should be same both in your deployer and each member of the SHC. The key in general is auto-generated as part of splunk install.&lt;/LI&gt;
&lt;LI&gt;I suggest, clean and re-initialize all the instances and follow the steps again and use splunk show shcluster-status to check the status of the cluster after boot-strap.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 23 Apr 2019 08:19:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-there-errors-when-configuring-search-head-clustering/m-p/420819#M15000</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-04-23T08:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why are there errors when configuring search head clustering with a deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-are-there-errors-when-configuring-search-head-clustering/m-p/420820#M15001</link>
      <description>&lt;P&gt;@Prakash493,&lt;BR /&gt;
    Few points that you need to notice.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;You should not update passSymmKey under [general]&lt;/LI&gt;
&lt;LI&gt;You should not add encrypted passSymmKey under [shcluster], instead you need to add passKey in normal characters and do splunk restart, splunk will encrypt that.&lt;/LI&gt;
&lt;LI&gt;Your searchhead cluster need also to be connected with indexer cluster for that you need to add [clustering] same as you might have done on indexer.&lt;/LI&gt;
&lt;LI&gt;Rest steps are okay about choosing captain and all.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Check if you did something wrong and redeploy the shcluster.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 13:57:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-are-there-errors-when-configuring-search-head-clustering/m-p/420820#M15001</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2019-04-23T13:57:01Z</dc:date>
    </item>
  </channel>
</rss>

