<?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: Using Splunk deployment server to deploy apps to index master in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365198#M13479</link>
    <description>&lt;P&gt;Ok I see.&lt;/P&gt;

&lt;P&gt;Is there a better way to managed this? I really don´t want to add this stanza everytime I add an new app, and I don´t want to add this to 20+ serverclasses I already have.&lt;/P&gt;

&lt;P&gt;Maybe the better way is, to disable deployment for CM.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2017 06:53:56 GMT</pubDate>
    <dc:creator>dkeck</dc:creator>
    <dc:date>2017-12-06T06:53:56Z</dc:date>
    <item>
      <title>Using Splunk deployment server to deploy apps to index master</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365190#M13471</link>
      <description>&lt;P&gt;I would like to know if it is possible to use the splunk deployment server to manage index apps (.../etc/master-apps). There is a param in deploymentclient.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;repositoryLocation = $SPLUNK_HOME/etc/apps
* The location into which content is installed after being downloaded from a
  deployment server.
* Apps and configuration content must be installed into the default location
  ($SPLUNK_HOME/etc/apps) or it will not be recognized by
  the Splunk instance on the deployment client.
    * Note: Apps and configuration content to be deployed may be located in
      an alternate location on the deployment server. Set both
      repositoryLocation and serverRepositoryLocationPolicy explicitly to
      ensure that the content is installed into the correct location
      ($SPLUNK_HOME/etc/apps) on the deployment clientr
    * The deployment client uses the 'serverRepositoryLocationPolicy'
      defined below to determine which value of repositoryLocation to use.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This does not seem to work. I realize that I will need to still perform a bundle push.&lt;/P&gt;

&lt;P&gt;Any thoughts are welcome!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 21:22:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365190#M13471</guid>
      <dc:creator>brent_weaver</dc:creator>
      <dc:date>2017-11-09T21:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk deployment server to deploy apps to index master</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365191#M13472</link>
      <description>&lt;P&gt;Yes, you can do such a thing with deployment client. It will put the apps into the &lt;CODE&gt;repositoryLocation&lt;/CODE&gt; and that's it.&lt;BR /&gt;
As you correctly mentioned the &lt;CODE&gt;apply cluster-bundle&lt;/CODE&gt; must be done separately.&lt;/P&gt;

&lt;P&gt;But, being able to do something and actually do it are two different things and I would not use deployment client function to copy apps onto the cluster master (my personal opinion). If possible use a different tool like Puppet or Chef or what ever is able to copy files into place and run a command afterwards for you.&lt;BR /&gt;
And just to add, please don't use Puppet or alike to deploy configs directly to the cluster members &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS &lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 23:06:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365191#M13472</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-11-09T23:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk deployment server to deploy apps to index master</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365192#M13473</link>
      <description>&lt;P&gt;Thank you for this info! I agree and haev resorted to using ansible to deploy apps to the master-apps dir, and then force a bundle push.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 02:09:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365192#M13473</guid>
      <dc:creator>brent_weaver</dc:creator>
      <dc:date>2017-11-10T02:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk deployment server to deploy apps to index master</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365193#M13474</link>
      <description>&lt;P&gt;As @MuS says, dont push directly to the index peers. This bad practice. I have customers using automation to push to the master-apps folder on the Master Node, and then you can use rest or CLI to push the cluster bundles out. &lt;/P&gt;

&lt;P&gt;Pushing these individually to indexers can cause numerous problems, including configurations being out of sync, invalid configuration errors causing Splunk not to start, and other issues that may manifest is bizaar ways that are not easy to troubleshoot... &lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 06:55:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365193#M13474</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2017-11-10T06:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk deployment server to deploy apps to index master</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365194#M13475</link>
      <description>&lt;P&gt;The reason I added this comment was at the SplunkTrust AMA at .conf 2017 some one asked why he gets all these weird errors when he puts the cluster configs on the peers using puppet &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &lt;BR /&gt;
The response was an in unison &lt;STRONG&gt;NO!&lt;/STRONG&gt;  and of course the SplunkTrust explained then why this should not be done.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 01:29:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365194#M13475</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-11-15T01:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk deployment server to deploy apps to index master</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365195#M13476</link>
      <description>&lt;P&gt;Hi, I get that this may not be best way, but I implemented that the Cluster Master will get its apps from the Deploymentserver.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    repositoryLocation = $SPLUNK_HOME/etc/master-apps
serverRepositoryLocationPolicy = rejectAlways
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This worked fine at the beginning, but know I get errors like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ERROR DeployedServerclass - name=test_app Failed to install app=test_app   
 ERROR DeployedApplication - Failed to install app=/opt/splunk/etc/master-apps/test_app; reason=Application does not exist: test_app
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I read some old answers, that this could be a bug, since this is the most recent one, I hoped, that someone could tell me more about this.&lt;/P&gt;

&lt;P&gt;Is this resolved? Should it work like this?&lt;/P&gt;

&lt;P&gt;Kind Regards&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;

&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 11:51:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365195#M13476</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2017-11-23T11:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk deployment server to deploy apps to index master</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365196#M13477</link>
      <description>&lt;P&gt;@dkeck: You need to add "stateOnClient = noop" to either the [serverClass:xxx] or [serverClass:xxx:app:yyy] stanzas to tell the Deployment Server to NOT try to "activate" the app once it is pushed to the Cluster Master. Since the apps are put in master-apps on the CM, they aren't active on the CM itself, so you don't want the DS trying to enable them. That should get rid of the errors you are seeing about "failed to install".&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 15:02:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365196#M13477</guid>
      <dc:creator>kcepull2</dc:creator>
      <dc:date>2017-12-05T15:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk deployment server to deploy apps to index master</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365197#M13478</link>
      <description>&lt;P&gt;Just another +1 &lt;BR /&gt;
Just because you &lt;EM&gt;can&lt;/EM&gt; do something, does not mean you &lt;STRONG&gt;&lt;EM&gt;should&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Deployment Servers Manage Forwarders&lt;BR /&gt;
Deployers Manage Search Head Clusters&lt;BR /&gt;
Cluster Masters Manage Search Clusters&lt;BR /&gt;
&lt;STRONG&gt;Only&lt;/STRONG&gt;        &lt;EM&gt;(even if you can technically)&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Ask me how i know!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 15:11:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365197#M13478</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-12-05T15:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk deployment server to deploy apps to index master</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365198#M13479</link>
      <description>&lt;P&gt;Ok I see.&lt;/P&gt;

&lt;P&gt;Is there a better way to managed this? I really don´t want to add this stanza everytime I add an new app, and I don´t want to add this to 20+ serverclasses I already have.&lt;/P&gt;

&lt;P&gt;Maybe the better way is, to disable deployment for CM.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 06:53:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365198#M13479</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2017-12-06T06:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk deployment server to deploy apps to index master</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365199#M13480</link>
      <description>&lt;P&gt;As mentioned before, use another tool to do this like Chef, Puppet or  .... even scp or rsync can do the job. &lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 09:20:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365199#M13480</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-12-06T09:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk deployment server to deploy apps to index master</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365200#M13481</link>
      <description>&lt;P&gt;kcepull2's solution will work, and yes it's per application, you could try to minimize the number of applications you deploy to your cluster master.&lt;/P&gt;

&lt;P&gt;Many Splunk applications need only to be on the search head cluster and/or heavy forwarder, only some have index-time props/transforms/indexes configuration.&lt;BR /&gt;
For these you also have the option of putting the configuration into a common application...&lt;/P&gt;

&lt;P&gt;Also MuS's solution is of course valid as well...if you prefer that path...(apetite by bridgewater would be yet another product you could use)&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 22:24:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365200#M13481</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2017-12-06T22:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk deployment server to deploy apps to index master</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365201#M13482</link>
      <description>&lt;P&gt;I am just going to stick with my original plan to just use ansible to manage index cluster apps. &lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 03:47:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365201#M13482</guid>
      <dc:creator>brent_weaver</dc:creator>
      <dc:date>2017-12-07T03:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk deployment server to deploy apps to index master</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365202#M13483</link>
      <description>&lt;P&gt;Read what he said; you can put it in the parent section and then it will apply to all apps.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 02:28:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Using-Splunk-deployment-server-to-deploy-apps-to-index-master/m-p/365202#M13483</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-06-28T02:28:42Z</dc:date>
    </item>
  </channel>
</rss>

