<?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 to switch to a different deployment server? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394090#M14310</link>
    <description>&lt;P&gt;Deploymentclient.conf is inside etc/system/local. I am one of the brave souls who attempted to remove deploymentclient.conf from system/local, but once you remove the system/local/deploymenclient.conf than a restart is required.&lt;BR /&gt;
I tried restarting splunkforwarder after deleting the file, but splunk never comes back, it stops and stays in that state until  I go and manually restart it.&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 16:05:13 GMT</pubDate>
    <dc:creator>saurabh009</dc:creator>
    <dc:date>2019-05-29T16:05:13Z</dc:date>
    <item>
      <title>How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394087#M14307</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;We are trying to switch to different deployment server from the current one. We have 100s of forwarders where deploymentclient.conf need to be changed.&lt;BR /&gt;
Is it possible to do it via an app pushing to all the forwarders which will replace the deploymentclient.conf?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 15:06:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394087#M14307</guid>
      <dc:creator>saurabh009</dc:creator>
      <dc:date>2019-05-29T15:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394088#M14308</link>
      <description>&lt;P&gt;Where is your &lt;CODE&gt;deploymentclient.conf&lt;/CODE&gt; on the forwarder? Is it under &lt;CODE&gt;$SPLUNK_HOME/etc/system/local&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 15:17:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394088#M14308</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2019-05-29T15:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394089#M14309</link>
      <description>&lt;P&gt;If the current deploymentclient.conf file is in $SPLUNK_HOME/etc/system/local then you cannot replace it with an app and are stuck using a manual/Ansible/Puppet solution to replace the file.  Some brave souls have had luck writing a script in an app that deletes etc/system/local/deploymentclient.conf so the app instance of the file can take over.&lt;/P&gt;

&lt;P&gt;If, however, Best Practices were followed and the current deploymentclient.conf file is in an app then you can modify the file and it will be pushed out as forwarders phone home.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 15:20:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394089#M14309</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-05-29T15:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394090#M14310</link>
      <description>&lt;P&gt;Deploymentclient.conf is inside etc/system/local. I am one of the brave souls who attempted to remove deploymentclient.conf from system/local, but once you remove the system/local/deploymenclient.conf than a restart is required.&lt;BR /&gt;
I tried restarting splunkforwarder after deleting the file, but splunk never comes back, it stops and stays in that state until  I go and manually restart it.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 16:05:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394090#M14310</guid>
      <dc:creator>saurabh009</dc:creator>
      <dc:date>2019-05-29T16:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394091#M14311</link>
      <description>&lt;P&gt;When you delete etc/system/local/deploymentclient.conf you must create a deploymentclient.conf file in etc/apps.  Without that, the forwarder has no way to contact the DS.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 19:11:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394091#M14311</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-05-29T19:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394092#M14312</link>
      <description>&lt;P&gt;so the app contains&lt;BR /&gt;
etc/apps/dsconfig/default/inputs.conf&lt;BR /&gt;
etc/apps/dsconfig/bin/dsconfig.sh&lt;BR /&gt;
etc/apps/dsconfig/local/deploymentclient.conf&lt;/P&gt;

&lt;P&gt;here inputs.conf triggers the script dsconfig.sh which deletes already existing deploymentclient.conf from etc/system/local and tries to restart splunkforwarder in order to new deploymenclient.conf(etc/apps/dsconfig/local/depoymentclient.conf) can take effect&lt;BR /&gt;
But, restart from the script doesn't work. it only stops the forwarder and i have to manually login to fowarder to start it again and the new deploymentclient can take effect.&lt;/P&gt;

&lt;P&gt;Do you know why splunkforwarder cannot be restarted using a script inside one of it's apps?&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 15:38:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394092#M14312</guid>
      <dc:creator>saurabh009</dc:creator>
      <dc:date>2019-05-30T15:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394093#M14313</link>
      <description>&lt;P&gt;I'm not sure why the scripted restart doesn't work.&lt;BR /&gt;
Have you tried telling the UF to restart itself when it installs the app?  It's done using the "Restart splunkd" setting in the DS.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 12:44:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394093#M14313</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-05-31T12:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394094#M14314</link>
      <description>&lt;OL&gt;
&lt;LI&gt;Open the firewall to the UFs on the new DS&lt;/LI&gt;
&lt;LI&gt;On the UFs, change the $SPLUNK_HOME/etc/system/local/deploymentclient.conf to the following:
[target-broker:deploymentServer]
targetUri=(your new DS REST URI identifier)
[deployment-client]
clientName=(your UF client name)&lt;/LI&gt;
&lt;LI&gt;Restart the UF&lt;/LI&gt;
&lt;LI&gt;When you finish, launch splunk reload deploy-server on the DS&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;The best way to do this on many hosts is to use a server automation tool such as bladelogic or to do it directly via global shell or something similar.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 14:22:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/394094#M14314</guid>
      <dc:creator>sonny_monti</dc:creator>
      <dc:date>2019-05-31T14:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522318#M17976</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I change the forwarder license as well???&lt;/P&gt;&lt;P&gt;We have bought new Splunk Enterprise License (not renewed) and hence I'm expecting we may have new forwarder license for UFs.&lt;/P&gt;&lt;P&gt;How this can be done?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 16:57:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522318#M17976</guid>
      <dc:creator>jonwick</dc:creator>
      <dc:date>2020-09-30T16:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522320#M17977</link>
      <description>UFs haven't any licenses so no need to change it. All licensing is handled on indexer levels (and/or HF level if you are storing also there).&lt;BR /&gt;r. Ismo</description>
      <pubDate>Wed, 30 Sep 2020 17:01:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522320#M17977</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-09-30T17:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522323#M17978</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;According to this&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.6/Admin/TypesofSplunklicenses" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.6/Admin/TypesofSplunklicenses&lt;/A&gt;&lt;/P&gt;&lt;P&gt;UF contains forwarder license, do we need to change this as well over existing agents.&lt;/P&gt;&lt;P&gt;We bought new Enterprise license because we are taking control over existing agents from other organisations (our Splunk Service Provider).&lt;/P&gt;&lt;P&gt;So if we keep older one this may cause UF owning issue. Installing and de installation stand ups to be unnecessary additional efforts.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 17:08:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522323#M17978</guid>
      <dc:creator>jonwick</dc:creator>
      <dc:date>2020-09-30T17:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522324#M17979</link>
      <description>Yes, you are right, UF contains that forwarder license, but it's actually just enable UF's basic features and it's not tight anyhow to indexing capacity or even Customer which are using it. So no need to do anything for it.&lt;BR /&gt;r. Ismo</description>
      <pubDate>Wed, 30 Sep 2020 17:11:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522324#M17979</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-09-30T17:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522330#M17981</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp;,since it isn't paid I assume there are no validity to the license or any expiry threat.&lt;/P&gt;&lt;P&gt;Only things I need to perform is to change admin password and destination deployment server. Am I missing anything more?&lt;/P&gt;&lt;P&gt;And Just one last question, suppose we upgrade UF with our new UF later on, no trade off issues right??&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 17:46:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522330#M17981</guid>
      <dc:creator>jonwick</dc:creator>
      <dc:date>2020-09-30T17:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522332#M17982</link>
      <description>&lt;P&gt;I'm actually doing this right now, and I also sought help on how to do this in a safe way. I know this thread has been necro'd but in case someone else comes across it:&lt;/P&gt;&lt;P&gt;I'm going to assume the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Your forwarders have deploymentclient.conf in $SPLUNK_HOME/etc/system/local&lt;/LI&gt;&lt;LI&gt;You'd like to follow best practices and place it in an app instead.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The unfortunate thing about your environment right now is that &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.6/Admin/Wheretofindtheconfigurationfiles#" target="_self"&gt;../etc/system/local has precedence over ../etc/apps&lt;/A&gt;, so pushing an app out from your current deployment server won't work. I'd recommend doing the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a manual app on &lt;STRONG&gt;ALL &lt;/STRONG&gt;of your forwarders with an app called zzz_deploymentdefault. The name of the app doesn't matter as long as it starts with a 'z'. The app will contain a local directory with your deploymentclient.conf. This will not be from your OLD deployment server, but you will manually place it on the forwarders.&lt;OL&gt;&lt;LI&gt;In order to get it to your forwarders, create a script that copies the file into ../etc/apps and also renames/removes the /etc/system/local deploymentclient.conf. I'd highly recommend having a test server out there with a Splunk forwarder on it to make sure your script is right.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Now that all of your forwarders are connected to the NEW deployment server via that manual app you placed on the servers, create an app on your NEW deployment server that matches the contents of that manually pushed app. All of your forwarders will get this one too. I'd recommend naming the app with a capital letter (FritoLay_deploymentserver) as an app starting with a capital will take precedence over your zzz_deploymentdefault app.&lt;/LI&gt;&lt;LI&gt;Once you push that app out to all of your forwarders you are done!&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;How does this work?&lt;/P&gt;&lt;P&gt;It all has to do with precedence and having a safety net. The issue with only pushing an app from your deployment server is that if you make a change to your serverclass.conf that for whatever reason takes your deployment server-pushed app away, that server is gone! The manually placed app with deploymentclient.conf is your backup in case that ever happens.&lt;/P&gt;&lt;P&gt;There are downsides to this plan too. Changing your deployment server again will be more administratively challenging, and setting this up in the first place is more administratively difficult. You also would have to script your future forwarder deployments to include this zzz_deploymentdefault app.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 17:59:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522332#M17982</guid>
      <dc:creator>96nick</dc:creator>
      <dc:date>2020-09-30T17:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522337#M17989</link>
      <description>I suppose that no expiration, but you should update it when needed. That usually extend licenses and certificates if those have validity periods.&lt;BR /&gt;One think is to clean fish buckets before you start to collect logs to the new target (if needed).</description>
      <pubDate>Wed, 30 Sep 2020 18:16:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522337#M17989</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-09-30T18:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch to a different deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522339#M17990</link>
      <description>&lt;P&gt;Thanks a lot&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 18:30:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-switch-to-a-different-deployment-server/m-p/522339#M17990</guid>
      <dc:creator>jonwick</dc:creator>
      <dc:date>2020-09-30T18:30:24Z</dc:date>
    </item>
  </channel>
</rss>

