<?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 Error while adding search peer to search head in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Error-while-adding-search-peer-to-search-head/m-p/412329#M20459</link>
    <description>&lt;P&gt;I'm getting the below error when adding a distributed search peer to search head on CLI or GUI.&lt;/P&gt;

&lt;P&gt;/opt/splunk/bin/splunk add search-server x.x.x.x:8089 -auth admin:password -remoteUsername admin -remotePassword password&lt;BR /&gt;
Invalid action for this internal handler (handler: distsearch-peer, supported: list|edit|remove|_reload|new|disable|enable|doc, wanted: create).&lt;/P&gt;

&lt;P&gt;i'm able to connect to the indexer server via nc and there are no network or firewall blocks.&lt;/P&gt;</description>
    <pubDate>Sun, 19 Aug 2018 18:43:21 GMT</pubDate>
    <dc:creator>aksharp</dc:creator>
    <dc:date>2018-08-19T18:43:21Z</dc:date>
    <item>
      <title>Error while adding search peer to search head</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Error-while-adding-search-peer-to-search-head/m-p/412329#M20459</link>
      <description>&lt;P&gt;I'm getting the below error when adding a distributed search peer to search head on CLI or GUI.&lt;/P&gt;

&lt;P&gt;/opt/splunk/bin/splunk add search-server x.x.x.x:8089 -auth admin:password -remoteUsername admin -remotePassword password&lt;BR /&gt;
Invalid action for this internal handler (handler: distsearch-peer, supported: list|edit|remove|_reload|new|disable|enable|doc, wanted: create).&lt;/P&gt;

&lt;P&gt;i'm able to connect to the indexer server via nc and there are no network or firewall blocks.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Aug 2018 18:43:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Error-while-adding-search-peer-to-search-head/m-p/412329#M20459</guid>
      <dc:creator>aksharp</dc:creator>
      <dc:date>2018-08-19T18:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error while adding search peer to search head</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Error-while-adding-search-peer-to-search-head/m-p/412330#M20460</link>
      <description>&lt;P&gt;Just making sure, are you running this command on search head? If so, can you see any error or warning messages in splunkd.log when trying to add search to search head? &lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 12:21:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Error-while-adding-search-peer-to-search-head/m-p/412330#M20460</guid>
      <dc:creator>sudosplunk</dc:creator>
      <dc:date>2018-08-20T12:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error while adding search peer to search head</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Error-while-adding-search-peer-to-search-head/m-p/412331#M20461</link>
      <description>&lt;P&gt;Thanks for the help.&lt;BR /&gt;
The problem was with the permissions on the trusted.pem, changing ownership and giving it to app account solved the error. &lt;BR /&gt;
It was not showing any errors in splunkd.log on SH or on the indexer when adding the peer. It was throwing error at splunk startup on SH, which made it a little confusing.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 22:13:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Error-while-adding-search-peer-to-search-head/m-p/412331#M20461</guid>
      <dc:creator>aksharp</dc:creator>
      <dc:date>2018-08-20T22:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error while adding search peer to search head</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Error-while-adding-search-peer-to-search-head/m-p/517924#M20462</link>
      <description>&lt;P&gt;I am facing the same issue, can you please explain this in detail:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"&lt;EM&gt;changing ownership and giving it to app account&lt;/EM&gt;"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 14:19:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Error-while-adding-search-peer-to-search-head/m-p/517924#M20462</guid>
      <dc:creator>mtaher</dc:creator>
      <dc:date>2020-09-04T14:19:36Z</dc:date>
    </item>
  </channel>
</rss>

