<?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 trying to push app from deployer in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Error-trying-to-push-app-from-deployer/m-p/220179#M8245</link>
    <description>&lt;P&gt;I'm getting this error when I try to push an app to my search head cluster:&lt;BR /&gt;
Error when getting master uri from target to do a rolling-restart Service Unavailable&lt;/P&gt;

&lt;P&gt;I've used the command:&lt;BR /&gt;
sudo ./splunk apply shcluster-bundle -target https://[SOME SEARCH HEAD]:8089 -auth admin:'[THE PASSWORD]'&lt;/P&gt;

&lt;P&gt;It stopped working since we've fixed the IP addresses of the Splunk nodes. Anyone an idea how to fix/debug this?&lt;/P&gt;</description>
    <pubDate>Fri, 06 Nov 2015 08:08:43 GMT</pubDate>
    <dc:creator>gwobben</dc:creator>
    <dc:date>2015-11-06T08:08:43Z</dc:date>
    <item>
      <title>Error trying to push app from deployer</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Error-trying-to-push-app-from-deployer/m-p/220179#M8245</link>
      <description>&lt;P&gt;I'm getting this error when I try to push an app to my search head cluster:&lt;BR /&gt;
Error when getting master uri from target to do a rolling-restart Service Unavailable&lt;/P&gt;

&lt;P&gt;I've used the command:&lt;BR /&gt;
sudo ./splunk apply shcluster-bundle -target https://[SOME SEARCH HEAD]:8089 -auth admin:'[THE PASSWORD]'&lt;/P&gt;

&lt;P&gt;It stopped working since we've fixed the IP addresses of the Splunk nodes. Anyone an idea how to fix/debug this?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 08:08:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Error-trying-to-push-app-from-deployer/m-p/220179#M8245</guid>
      <dc:creator>gwobben</dc:creator>
      <dc:date>2015-11-06T08:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to push app from deployer</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Error-trying-to-push-app-from-deployer/m-p/220180#M8246</link>
      <description>&lt;P&gt;I don't know if this causes your problem, but generally, I'd advise against sudoing splunk. It causes all kind of undesired behavior with folder/file ownership and permissions if some splunk actions are performed as a different user.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 09:35:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Error-trying-to-push-app-from-deployer/m-p/220180#M8246</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2015-11-06T09:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to push app from deployer</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Error-trying-to-push-app-from-deployer/m-p/220181#M8247</link>
      <description>&lt;P&gt;You need to correct anything wrong with your SHC first.&lt;/P&gt;

&lt;P&gt;Run this command from your search head(s) and let us know the output:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; splunk show shcluster-status -auth &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also it is best practice to create your own splunk user &amp;amp; group, and run splunk as that user.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#If splunk is running as sudo or root, stop it first.
groupadd splunk
useradd splunk -g splunk
chown -Rf splunk. /opt/splunk  #or wherever you have splunk installed
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You'll probably have to fix/rebuild the SHC using some of these commands from each search head:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; splunk init shcluster-config -auth &amp;lt;username&amp;gt;:&amp;lt;password&amp;gt; -mgmt_uri &amp;lt;URI&amp;gt;:&amp;lt;management_port&amp;gt; -replication_port &amp;lt;replication_port&amp;gt; -replication_factor &amp;lt;n&amp;gt; -conf_deploy_fetch_url &amp;lt;URL&amp;gt;:&amp;lt;management_port&amp;gt; -secret &amp;lt;security_key&amp;gt;

 splunk restart
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/DistSearch/ViewSHCstatus"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/DistSearch/ViewSHCstatus&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/DistSearch/SHCdeploymentoverview"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/DistSearch/SHCdeploymentoverview&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 09:46:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Error-trying-to-push-app-from-deployer/m-p/220181#M8247</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2015-11-06T09:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to push app from deployer</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Error-trying-to-push-app-from-deployer/m-p/220182#M8248</link>
      <description>&lt;P&gt;We've rebuild the SHC (splunk init shcluster-config ... ) and started the election for captain again. Then things started working again. Thanks guys!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 14:18:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Error-trying-to-push-app-from-deployer/m-p/220182#M8248</guid>
      <dc:creator>gwobben</dc:creator>
      <dc:date>2015-11-06T14:18:19Z</dc:date>
    </item>
  </channel>
</rss>

