<?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 deployment server debug.. in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/deployment-server-debug/m-p/17855#M396</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to push out some new configs via the deployment server, but they aren't working. I turned on debug on the client, and I see the following. Can someone decipher this for me? &lt;/P&gt;

&lt;P&gt;02-02-2013 22:12:43.143 -0500 DEBUG DeploymentClient - PhoneHomeThread woke up&lt;BR /&gt;
02-02-2013 22:12:43.143 -0500 DEBUG DeploymentClient - Send phone home&lt;BR /&gt;
02-02-2013 22:12:43.466 -0500 DEBUG DeploymentClient - Current state: 3, new state: 4&lt;BR /&gt;
02-02-2013 22:12:43.466 -0500 DEBUG DeploymentClient - Phone home recvd reply: &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;\n&lt;DEPLOYRESPONSE restartsplunkd="false" restartsplunkweb="false" stateonclient="enabled" repositorylocation="$SPLUNK_HOME/etc/apps" endpoint="$deploymentServerUri$/services/streams/deployment?name=$tenantName$:$serverClassName$:$appName$"&gt;&lt;/DEPLOYRESPONSE&gt;\n&lt;BR /&gt;
02-02-2013 22:12:43.466 -0500 DEBUG DeploymentClient - DeploymentClient is about to reload a new manifest....&lt;BR /&gt;
02-02-2013 22:12:43.466 -0500 DEBUG DeploymentClient - DeploymentClient is done reloading...&lt;BR /&gt;
02-02-2013 22:12:43.466 -0500 DEBUG DeploymentClient - Current state: 4, new state: 3&lt;/P&gt;</description>
    <pubDate>Sun, 03 Feb 2013 03:20:39 GMT</pubDate>
    <dc:creator>a212830</dc:creator>
    <dc:date>2013-02-03T03:20:39Z</dc:date>
    <item>
      <title>deployment server debug..</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/deployment-server-debug/m-p/17855#M396</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to push out some new configs via the deployment server, but they aren't working. I turned on debug on the client, and I see the following. Can someone decipher this for me? &lt;/P&gt;

&lt;P&gt;02-02-2013 22:12:43.143 -0500 DEBUG DeploymentClient - PhoneHomeThread woke up&lt;BR /&gt;
02-02-2013 22:12:43.143 -0500 DEBUG DeploymentClient - Send phone home&lt;BR /&gt;
02-02-2013 22:12:43.466 -0500 DEBUG DeploymentClient - Current state: 3, new state: 4&lt;BR /&gt;
02-02-2013 22:12:43.466 -0500 DEBUG DeploymentClient - Phone home recvd reply: &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;\n&lt;DEPLOYRESPONSE restartsplunkd="false" restartsplunkweb="false" stateonclient="enabled" repositorylocation="$SPLUNK_HOME/etc/apps" endpoint="$deploymentServerUri$/services/streams/deployment?name=$tenantName$:$serverClassName$:$appName$"&gt;&lt;/DEPLOYRESPONSE&gt;\n&lt;BR /&gt;
02-02-2013 22:12:43.466 -0500 DEBUG DeploymentClient - DeploymentClient is about to reload a new manifest....&lt;BR /&gt;
02-02-2013 22:12:43.466 -0500 DEBUG DeploymentClient - DeploymentClient is done reloading...&lt;BR /&gt;
02-02-2013 22:12:43.466 -0500 DEBUG DeploymentClient - Current state: 4, new state: 3&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2013 03:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/deployment-server-debug/m-p/17855#M396</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2013-02-03T03:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: deployment server debug..</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/deployment-server-debug/m-p/17856#M397</link>
      <description>&lt;P&gt;Okay, it looks like you have set&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;restartSplunkd = False
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in &lt;CODE&gt;serverclass.conf&lt;/CODE&gt; for this client (or perhaps that is the default for this client). So when the client downloads the app, it doesn't restart splunkd. Therefore, the new app/configs do not take effect. You might want to change that.&lt;/P&gt;

&lt;P&gt;You might not have needed to turn on debug. If you had searched the &lt;CODE&gt;_internal&lt;/CODE&gt; index, you would probably have found much the same thing. Or at least you would have been able to see that the app was being deployed. I like to use a search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal deployedapplication OR serverclass OR packagedownloadresthandler sourcetype=splunkd 
| table _time host component log_level message
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To test that this was the &lt;EM&gt;only&lt;/EM&gt; problem, go to the client and see if the app appears. If yes, then restart splunkd. If that fixes the problem, then this was it!&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2013 05:53:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/deployment-server-debug/m-p/17856#M397</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-02-03T05:53:50Z</dc:date>
    </item>
  </channel>
</rss>

