<?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: Remote installtion of U FWDs on Windows - Specify the deployment server in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Remote-installtion-of-U-FWDs-on-Windows-Specify-the-deployment/m-p/252255#M48497</link>
    <description>&lt;P&gt;no problem. please mark the answer accepted if it works for you, or feel free to ask for more clarification &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2016 17:02:33 GMT</pubDate>
    <dc:creator>muebel</dc:creator>
    <dc:date>2016-03-18T17:02:33Z</dc:date>
    <item>
      <title>Remote installtion of U FWDs on Windows - Specify the deployment server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remote-installtion-of-U-FWDs-on-Windows-Specify-the-deployment/m-p/252252#M48494</link>
      <description>&lt;P&gt;HI&lt;/P&gt;

&lt;P&gt;We need to remotely install U FWD on thousands of Linux and WIndows systems. &lt;/P&gt;

&lt;P&gt;On Linux systems, in the installation script, instead of the statement on deployement server listed below&lt;/P&gt;

&lt;P&gt;/opt/splunkforwarder/bin/splunk set deploy-poll \"$DEPLOY_SERVER\" --accept-license --answer-yes --auto-ports --no-prompt  -auth admin:changeme&lt;/P&gt;

&lt;P&gt;I use the following statement which I believe provides a better practice&lt;/P&gt;

&lt;P&gt;cp –r all_deploymentclient /fmac/Splunkforwarder/etc/apps&lt;/P&gt;

&lt;P&gt;where the directory all_deploymentclient  includes the following two files&lt;/P&gt;

&lt;P&gt;+++&lt;BR /&gt;
host070&amp;gt; more deploymentclient.conf&lt;BR /&gt;
[deployment-client]&lt;/P&gt;

&lt;H1&gt;10 minutes&lt;/H1&gt;

&lt;H1&gt;phoneHomeIntervalInSecs = 600&lt;/H1&gt;

&lt;P&gt;[target-broker:deploymentServer]&lt;/P&gt;

&lt;H1&gt;Change the targetUri&lt;/H1&gt;

&lt;P&gt;targetUri = x.x.x.x:8089&lt;/P&gt;

&lt;P&gt;++++&lt;BR /&gt;
host070&amp;gt; more app.conf&lt;BR /&gt;
[install]&lt;BR /&gt;
state = enabled&lt;/P&gt;

&lt;P&gt;[package]&lt;BR /&gt;
check_for_updates = false&lt;BR /&gt;
+++&lt;/P&gt;

&lt;P&gt;How can I replicate the same functionality on Windows servers using  Windows scripting?  I could not find any such information on&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.3/Forwarding/DeployaWindowsdfviathecommandline" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.3/Forwarding/DeployaWindowsdfviathecommandline&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:08:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remote-installtion-of-U-FWDs-on-Windows-Specify-the-deployment/m-p/252252#M48494</guid>
      <dc:creator>Thuan</dc:creator>
      <dc:date>2020-09-29T09:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Remote installtion of U FWDs on Windows - Specify the deployment server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remote-installtion-of-U-FWDs-on-Windows-Specify-the-deployment/m-p/252253#M48495</link>
      <description>&lt;P&gt;Hi Thuan, You'd want to create a powershell script that had something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;copy-item all_deploymentclient "$env:programfiles\splunkuniversalforwarder\etc\apps" -recurse
stop-service *splunk*
start-service *splunk*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 14:32:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remote-installtion-of-U-FWDs-on-Windows-Specify-the-deployment/m-p/252253#M48495</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2016-03-18T14:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Remote installtion of U FWDs on Windows - Specify the deployment server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remote-installtion-of-U-FWDs-on-Windows-Specify-the-deployment/m-p/252254#M48496</link>
      <description>&lt;P&gt;Great.  Thank you.  I am blind on Windows as one can be.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 15:12:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remote-installtion-of-U-FWDs-on-Windows-Specify-the-deployment/m-p/252254#M48496</guid>
      <dc:creator>Thuan</dc:creator>
      <dc:date>2016-03-18T15:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Remote installtion of U FWDs on Windows - Specify the deployment server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remote-installtion-of-U-FWDs-on-Windows-Specify-the-deployment/m-p/252255#M48497</link>
      <description>&lt;P&gt;no problem. please mark the answer accepted if it works for you, or feel free to ask for more clarification &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 17:02:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remote-installtion-of-U-FWDs-on-Windows-Specify-the-deployment/m-p/252255#M48497</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2016-03-18T17:02:33Z</dc:date>
    </item>
  </channel>
</rss>

