<?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: How does the deployment server detect app changes? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/How-does-the-deployment-server-detect-app-changes/m-p/82571#M2965</link>
    <description>&lt;P&gt;Unfortunately that is the extent of my knowledge and what I could find. You could pose this question to support if you don't get an answer here though.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Mar 2012 21:57:20 GMT</pubDate>
    <dc:creator>jsb22</dc:creator>
    <dc:date>2012-03-01T21:57:20Z</dc:date>
    <item>
      <title>How does the deployment server detect app changes?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-does-the-deployment-server-detect-app-changes/m-p/82568#M2962</link>
      <description>&lt;P&gt;How does the deployment server know when an app that it manages has been updated and should be sent to clients? Does it use file timestamps, checksums, or some other magic? Also, after making an update, is there a major difference between running 'splunk restart' versus 'splunk reload deploy-server'?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2012 19:50:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-does-the-deployment-server-detect-app-changes/m-p/82568#M2962</guid>
      <dc:creator>eugenekogan</dc:creator>
      <dc:date>2012-03-01T19:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: How does the deployment server detect app changes?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-does-the-deployment-server-detect-app-changes/m-p/82569#M2963</link>
      <description>&lt;P&gt;From &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Aboutdeploymentserver"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Aboutdeploymentserver&lt;/A&gt;&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Communication between deployment&lt;BR /&gt;
server and clients The deployment&lt;BR /&gt;
client periodically polls the&lt;BR /&gt;
deployment server, identifying itself.&lt;BR /&gt;
The deployment server then reviews the&lt;BR /&gt;
information in its configuration to&lt;BR /&gt;
find out if there is something new or&lt;BR /&gt;
updated to push out to that particular&lt;BR /&gt;
client. If there is new content to&lt;BR /&gt;
deploy to a given deployment client,&lt;BR /&gt;
the deployment server tells the client&lt;BR /&gt;
exactly what it should retrieve. The&lt;BR /&gt;
deployment client then retrieves the&lt;BR /&gt;
new content and treats it according to&lt;BR /&gt;
the instructions specified for the&lt;BR /&gt;
server class it belongs to--maybe it&lt;BR /&gt;
should restart, run a script, or just&lt;BR /&gt;
wait until someone tells it to do&lt;BR /&gt;
something else. &lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;As far as the "splunk restart" vs "splunk reload deploy-server" is concerned, running the first restarts the whole agent, meaning if you run the web interface, it will also shut down, running just the latter will only reload the deployment configurations.&lt;BR /&gt;
Remember to mark as answered if I have answered your questions. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2012 21:33:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-does-the-deployment-server-detect-app-changes/m-p/82569#M2963</guid>
      <dc:creator>jsb22</dc:creator>
      <dc:date>2012-03-01T21:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: How does the deployment server detect app changes?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-does-the-deployment-server-detect-app-changes/m-p/82570#M2964</link>
      <description>&lt;P&gt;"The deployment server then reviews the information in its configuration to find out if there is something new or updated to push out to that particular client." - How does it do this review? I am looking for info on what's going on under the hood.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2012 21:47:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-does-the-deployment-server-detect-app-changes/m-p/82570#M2964</guid>
      <dc:creator>eugenekogan</dc:creator>
      <dc:date>2012-03-01T21:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: How does the deployment server detect app changes?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-does-the-deployment-server-detect-app-changes/m-p/82571#M2965</link>
      <description>&lt;P&gt;Unfortunately that is the extent of my knowledge and what I could find. You could pose this question to support if you don't get an answer here though.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2012 21:57:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-does-the-deployment-server-detect-app-changes/m-p/82571#M2965</guid>
      <dc:creator>jsb22</dc:creator>
      <dc:date>2012-03-01T21:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: How does the deployment server detect app changes?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-does-the-deployment-server-detect-app-changes/m-p/82572#M2966</link>
      <description>&lt;P&gt;It basically does fschange:// on the directory containing deployment server files.&lt;/P&gt;

&lt;P&gt;You can see results of this in the _audit index, look for any actions with the /deployment-server/ in path, i.e.:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit path="*deployment-apps*"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You will see all file modifications that Splunk detected. Once a file in an app has been modified, Splunk calculates checksum of the whole directory. This checksum is given to agents when they download the app initially. Upon checking if something changed, the agents compare the current checksum they have with the one supplied by the server, if it doesn't match the application is downloaded and installed.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2012 22:18:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-does-the-deployment-server-detect-app-changes/m-p/82572#M2966</guid>
      <dc:creator>bojanz</dc:creator>
      <dc:date>2012-03-01T22:18:24Z</dc:date>
    </item>
  </channel>
</rss>

