<?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: Install Windows Deployment Client WITHOUT DEPLOYMENT_SERVER flag.  Can it work?? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Install-Windows-Deployment-Client-WITHOUT-DEPLOYMENT-SERVER-flag/m-p/67444#M13575</link>
    <description>&lt;P&gt;Nevermind this.  I misread.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2011 14:51:37 GMT</pubDate>
    <dc:creator>dmaislin_splunk</dc:creator>
    <dc:date>2011-11-22T14:51:37Z</dc:date>
    <item>
      <title>Install Windows Deployment Client WITHOUT DEPLOYMENT_SERVER flag.  Can it work??</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Install-Windows-Deployment-Client-WITHOUT-DEPLOYMENT-SERVER-flag/m-p/67440#M13571</link>
      <description>&lt;P&gt;Hi.  I've been struggling with this for a more days than I'd care to admit.  I'm HOPING someone can advise... (EnableBegging=True &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;GOAL:  Install Universal Forwarder on Windows as a Deployment Client, via the CLI ("msiexec.exe /i ..."), &lt;STRONG&gt;such that deploymentclient.conf is NOT in "etc\system\local"&lt;/STRONG&gt;.  &lt;/P&gt;

&lt;P&gt;WHY:  With deploymentclient.conf in "etc\system\local", it is impossible for the Deployment Server to change or override that configuration, in the event that, at some later date, we want to change the Deployment Server.  In that scenario, we would have to touch every Deployment Client manually.&lt;/P&gt;

&lt;P&gt;RESULTS FROM TESTING:  If I include the DEPLOYMENT_SERVER flag in the CLI msiexec command, a deploymentclient.conf file is created, and placed in "etc\system\local".  This actually "works", in that the DeploymentClient finds the Deployment Server, gets its config files, and begins eating log files and forwarding them to the Indexers - just like clockwork!.  But, as explained above, it has the undesirable effect of placing deploymentclient.conf in a place where no DS-deployed apps can override it.&lt;/P&gt;

&lt;P&gt;Conversely, if I OMIT the DEPLOYMENT_SERVER flag from the CLI msiexec command, NO deploymentclient.conf file is created in "etc\system\local"  -- or anywhere else, for that matter.  So far, so good (I thought!).&lt;/P&gt;

&lt;P&gt;So, I next manually place deploymentclient.conf where I want it (in an "apps" directory), where it could be overridden at some later date.  The problem is:  I CAN'T GET THE DEPLOYMENT CLIENT TO FIND AND/OR USE deploymentclient.conf.  I have done a "splunk restart", and I have Started the SplunkForwarder service (many, many times), but the Deployment Client never tries to contact the Deployment Server (packet captures confirm that it never sends a single packet to the DS).&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;It &lt;EM&gt;seems&lt;/EM&gt; that, once the Universal Forwarder is installed WITHOUT the DEPLOYMENT_SERVER flag, it will never learn how to contact the Deployment Server, and will never become a Deployment Client.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;As further indication of this last statement, I tried one other test.  I installed the Universal Forwarder, WITHOUT the DEPLOYMENTSERVER flag, and then &lt;STRONG&gt;I placed deploymentclient.conf in "etc\system\local"&lt;/STRONG&gt;.  STILL, after issuing splunkd restarts, and restarting the service, the Universal Forwarder does not try to contact the Deployment Server, even though deploymentclient.conf is in the very place where it lands when things "work" (when I &lt;STRONG&gt;do&lt;/STRONG&gt; use the DEPLOYMENT_SERVER flag).&lt;/P&gt;

&lt;P&gt;And...  One final, additional piece of evidence...  When I install WITHOUT the DEPLOYMENTSERVER flag, splunkd.log contains the below message, that &lt;STRONG&gt;may&lt;/STRONG&gt; be the key to explaining this behavior:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;WARN  DeploymentClient - Property targetUri not found. DeploymentClient is disabled.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;So, it &lt;EM&gt;seems&lt;/EM&gt; that, if no Deployment Server is defined &lt;STRONG&gt;at install time&lt;/STRONG&gt;, then Deployment Client functionality is disabled.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;So... Either what I'm trying to do is not possible, OR... I need to learn how to "enable" DeploymentClient after the install.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Thanx for listening - I know it took a while!  I will entertain all suggestions, questions or explanations.&lt;/P&gt;

&lt;P&gt;mfeeny1&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2011 23:09:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Install-Windows-Deployment-Client-WITHOUT-DEPLOYMENT-SERVER-flag/m-p/67440#M13571</guid>
      <dc:creator>mfeeny1</dc:creator>
      <dc:date>2011-08-30T23:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Install Windows Deployment Client WITHOUT DEPLOYMENT_SERVER flag.  Can it work??</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Install-Windows-Deployment-Client-WITHOUT-DEPLOYMENT-SERVER-flag/m-p/67441#M13572</link>
      <description>&lt;P&gt;UPDATE:  I &lt;EM&gt;thought&lt;/EM&gt; I had the answer.  After more thinking and reading, I decided I could get this to work if I used the LAUNCHSPLUNK=0 switch during the install, then placed deploymentclient.conf, and then did a &lt;EM&gt;splunk start&lt;/EM&gt;.&lt;/P&gt;

&lt;P&gt;NOPE.  This didn't work either - even if I put deploymentclient.conf in etc/system/local.&lt;/P&gt;

&lt;P&gt;I still get the following message when I start splunk:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;WARN DeploymentClient - Property targetUri not found. DeploymentClient is disabled.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;And, still, no attempts are made to contact the Deployment Server (and, issuing &lt;EM&gt;./splunk list deploy-clients&lt;/EM&gt; on the Deployment Server shows my target is STILL not a Deployment Client).&lt;/P&gt;

&lt;P&gt;I tried one more diagnostic step:  &lt;EM&gt;btool&lt;/EM&gt;.  If I issue the following command, on the Deployment Client...&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;splunk cmd btool deploymentclient list&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;...btool finds the Deployment Server configuration info, as follows:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;[target-broker:deploymentServer]&lt;BR /&gt;&lt;BR /&gt;
targetUri = "Deployment-Server-URI":9996&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;...but, again, the Deployment Client will not use this info to phone home.&lt;/P&gt;

&lt;P&gt;Unless I get some enlightenment from one of you listeners, my next step will be to submit a case.&lt;/P&gt;

&lt;P&gt;Thx,&lt;BR /&gt;
mfeeny1&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2011 11:33:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Install-Windows-Deployment-Client-WITHOUT-DEPLOYMENT-SERVER-flag/m-p/67441#M13572</guid>
      <dc:creator>mfeeny1</dc:creator>
      <dc:date>2011-08-31T11:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Install Windows Deployment Client WITHOUT DEPLOYMENT_SERVER flag.  Can it work??</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Install-Windows-Deployment-Client-WITHOUT-DEPLOYMENT-SERVER-flag/m-p/67442#M13573</link>
      <description>&lt;P&gt;Just run a command  at $SPLUNK_HOME/splunk set deploy-poll splunk.hostname.com:8089 -auth admin:changeme and restart the forwarder.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2011 20:58:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Install-Windows-Deployment-Client-WITHOUT-DEPLOYMENT-SERVER-flag/m-p/67442#M13573</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2011-11-21T20:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Install Windows Deployment Client WITHOUT DEPLOYMENT_SERVER flag.  Can it work??</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Install-Windows-Deployment-Client-WITHOUT-DEPLOYMENT-SERVER-flag/m-p/67443#M13574</link>
      <description>&lt;P&gt;You could try to do what our site did. We put a DNS alias entry on our DNS servers so the IP of the server mapped to 'splunk' and specified 'splunk' as the targetURI. If you ever change which server is the deployment server, you just have to update which IP the alias in DNS points to.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2011 14:44:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Install-Windows-Deployment-Client-WITHOUT-DEPLOYMENT-SERVER-flag/m-p/67443#M13574</guid>
      <dc:creator>jsb22</dc:creator>
      <dc:date>2011-11-22T14:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Install Windows Deployment Client WITHOUT DEPLOYMENT_SERVER flag.  Can it work??</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Install-Windows-Deployment-Client-WITHOUT-DEPLOYMENT-SERVER-flag/m-p/67444#M13575</link>
      <description>&lt;P&gt;Nevermind this.  I misread.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2011 14:51:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Install-Windows-Deployment-Client-WITHOUT-DEPLOYMENT-SERVER-flag/m-p/67444#M13575</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2011-11-22T14:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Install Windows Deployment Client WITHOUT DEPLOYMENT_SERVER flag.  Can it work??</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Install-Windows-Deployment-Client-WITHOUT-DEPLOYMENT-SERVER-flag/m-p/67445#M13576</link>
      <description>&lt;P&gt;This helped me with my similar problem. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2012 20:53:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Install-Windows-Deployment-Client-WITHOUT-DEPLOYMENT-SERVER-flag/m-p/67445#M13576</guid>
      <dc:creator>cyberbob</dc:creator>
      <dc:date>2012-01-07T20:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Install Windows Deployment Client WITHOUT DEPLOYMENT_SERVER flag.  Can it work??</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Install-Windows-Deployment-Client-WITHOUT-DEPLOYMENT-SERVER-flag/m-p/67446#M13577</link>
      <description>&lt;P&gt;This is old but in case someone else has your question then I may have the solution.  Install it like you normally would.  Create an app called something like mydeployment on you r Deployment Server  Under the app folder, create a local directory folder.  In that folder copy your deploymentclient.conf file into.  Restart deployment server so it deploys out to all the servers in your server classes.  ANY CHANGES MADE TO APP deploymentclient.conf WILL override the etc\system\local\deploymentclient.conf.  I have done this myself to change the clientname on all my forwarders using clientname = $HOSTNAME under the deployment-client stanza.  Apps will override etc\system\local configurations if the app configurations are in a local directory folder as well.  App configurations will not override if they have been placed in a default directory folder.  &lt;/P&gt;

&lt;P&gt;afret2007&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2016 15:45:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Install-Windows-Deployment-Client-WITHOUT-DEPLOYMENT-SERVER-flag/m-p/67446#M13577</guid>
      <dc:creator>afret2007</dc:creator>
      <dc:date>2016-01-11T15:45:56Z</dc:date>
    </item>
  </channel>
</rss>

