<?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: deployment server configs as an app in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/deployment-server-configs-as-an-app/m-p/313916#M11821</link>
    <description>&lt;P&gt;Hello there,&lt;BR /&gt;
i will suggest to relay on others experience.&lt;BR /&gt;
here are 5 answers around your challenge, number 3 is very detailed&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/319920/how-to-migrate-to-a-new-deployment-server.html"&gt;https://answers.splunk.com/answers/319920/how-to-migrate-to-a-new-deployment-server.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/236637/migrate-client-to-another-deployment-server.html"&gt;https://answers.splunk.com/answers/236637/migrate-client-to-another-deployment-server.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/103177/move-deployment-server-to-a-new-instance-in-the-same-host.html"&gt;https://answers.splunk.com/answers/103177/move-deployment-server-to-a-new-instance-in-the-same-host.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/459869/migrating-deployment-servers-how-do-existing-apps.html"&gt;https://answers.splunk.com/answers/459869/migrating-deployment-servers-how-do-existing-apps.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/63419/move-deployment-server.html"&gt;https://answers.splunk.com/answers/63419/move-deployment-server.html&lt;/A&gt;&lt;BR /&gt;
hope it helps&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2017 20:04:37 GMT</pubDate>
    <dc:creator>adonio</dc:creator>
    <dc:date>2017-05-30T20:04:37Z</dc:date>
    <item>
      <title>deployment server configs as an app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/deployment-server-configs-as-an-app/m-p/313915#M11820</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;

&lt;P&gt;I am trying to migrate an existing deployment server to a new machine, and I want to have it as an app in $SPLUNK_HOME/etc/apps/my_own_deploymentserver&lt;/P&gt;

&lt;P&gt;all good, I have the following layout under /opt/splunk/etc/apps/my_own_deploymentserver/&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunk@deployer]$ more local/serverclass.conf 
[global]
repositoryLocation = /opt/splunk/etc/apps/my_own_deploymentserver/dclasses
targetRepositoryLocation = $SPLUNK_HOME/etc/apps
tmpFolder = $SPLUNK_HOME/var/run/tmp

#hadoop 

[serverClass:dclient-hadoop-test]
whitelist.0=hadoop_sbb_test-*
[serverClass:dclient-hadoop-test:app:dclient-hadoop-test]
stateOnClient=enabled
restartSplunkd=true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;however, @ splunk reload deploy-server it's telling me "0 classes found" and reload -class dclient-hadoop-test doesn't work, although the class is visible&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunk@deployer]$ splunk cmd btool serverclass list
[global]
continueMatching = true
crossServerChecksum = false
endpoint = $deploymentServerUri$/services/streams/deployment?name=$tenantName$:$serverClassName$:$appName$
filterType = whitelist
issueReload = false
repositoryLocation = /opt/splunk/etc/apps/my_own_deploymentserver/dclasses
restartSplunkWeb = False
restartSplunkd = False
stateOnClient = enabled
targetRepositoryLocation = $SPLUNK_HOME/etc/apps
tmpFolder = $SPLUNK_HOME/var/run/tmp
[serverClass:dclient-hadoop-test]
whitelist.0 = hadoop_sbb_test-*
[serverClass:dclient-hadoop-test:app:dclient-hadoop-test]
restartSplunkd = true
stateOnClient = enabled
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;the only workaround I could find is to symlink /opt/splunk/etc/apps/my_own_deploymentserver/local/serverclass.conf to /opt/splunk/etc/system/local and so it sees my class definitions.&lt;/P&gt;

&lt;P&gt;is there another more elegant solution ?&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:13:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/deployment-server-configs-as-an-app/m-p/313915#M11820</guid>
      <dc:creator>petreb</dc:creator>
      <dc:date>2020-09-29T14:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: deployment server configs as an app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/deployment-server-configs-as-an-app/m-p/313916#M11821</link>
      <description>&lt;P&gt;Hello there,&lt;BR /&gt;
i will suggest to relay on others experience.&lt;BR /&gt;
here are 5 answers around your challenge, number 3 is very detailed&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/319920/how-to-migrate-to-a-new-deployment-server.html"&gt;https://answers.splunk.com/answers/319920/how-to-migrate-to-a-new-deployment-server.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/236637/migrate-client-to-another-deployment-server.html"&gt;https://answers.splunk.com/answers/236637/migrate-client-to-another-deployment-server.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/103177/move-deployment-server-to-a-new-instance-in-the-same-host.html"&gt;https://answers.splunk.com/answers/103177/move-deployment-server-to-a-new-instance-in-the-same-host.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/459869/migrating-deployment-servers-how-do-existing-apps.html"&gt;https://answers.splunk.com/answers/459869/migrating-deployment-servers-how-do-existing-apps.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/63419/move-deployment-server.html"&gt;https://answers.splunk.com/answers/63419/move-deployment-server.html&lt;/A&gt;&lt;BR /&gt;
hope it helps&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 20:04:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/deployment-server-configs-as-an-app/m-p/313916#M11821</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-05-30T20:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: deployment server configs as an app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/deployment-server-configs-as-an-app/m-p/313917#M11822</link>
      <description>&lt;P&gt;I'm answering myself --&amp;gt; splunk must "see" the new app, in order for restart deploy-server to work --&amp;gt; after that it works as it should&lt;/P&gt;

&lt;P&gt;so - create the app on the deployment server, reload (restart) the splunk daemon - than edit serverclasses and reload deploy-server as you need&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2017 13:06:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/deployment-server-configs-as-an-app/m-p/313917#M11822</guid>
      <dc:creator>petreb</dc:creator>
      <dc:date>2017-06-10T13:06:48Z</dc:date>
    </item>
  </channel>
</rss>

