<?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 Automating the Deployment Server in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Automating-the-Deployment-Server/m-p/626778#M26546</link>
    <description>&lt;P&gt;I am aware that it is pretty simple to programmatically add new &lt;EM&gt;apps&lt;/EM&gt; to Splunk's Deployment Server, as you must simply drop them in the right directory and invoke a reload of the service.&lt;/P&gt;&lt;P&gt;For server classes however, this does not seem so trivial.&amp;nbsp; The official &lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.2/Updating/Useforwardermanagement?ref=hk" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; asks us to add &lt;EM&gt;apps&lt;/EM&gt; to a server class manually, from the user interface.&amp;nbsp; This I don't like much as it is error prone and non reproducible.&lt;/P&gt;&lt;P&gt;Is there any way (or magic location in the Deployment Server's filesystem, like for the &lt;EM&gt;apps&lt;/EM&gt;), where I can drop the configuration of a server class, for it to be loaded in the graphical UI automatically?&amp;nbsp; This will allow me to configure some simple Ansible/Puppet/Chef... task to take care of those files.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jan 2023 12:58:52 GMT</pubDate>
    <dc:creator>Navarro</dc:creator>
    <dc:date>2023-01-11T12:58:52Z</dc:date>
    <item>
      <title>Automating the Deployment Server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Automating-the-Deployment-Server/m-p/626778#M26546</link>
      <description>&lt;P&gt;I am aware that it is pretty simple to programmatically add new &lt;EM&gt;apps&lt;/EM&gt; to Splunk's Deployment Server, as you must simply drop them in the right directory and invoke a reload of the service.&lt;/P&gt;&lt;P&gt;For server classes however, this does not seem so trivial.&amp;nbsp; The official &lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.2/Updating/Useforwardermanagement?ref=hk" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; asks us to add &lt;EM&gt;apps&lt;/EM&gt; to a server class manually, from the user interface.&amp;nbsp; This I don't like much as it is error prone and non reproducible.&lt;/P&gt;&lt;P&gt;Is there any way (or magic location in the Deployment Server's filesystem, like for the &lt;EM&gt;apps&lt;/EM&gt;), where I can drop the configuration of a server class, for it to be loaded in the graphical UI automatically?&amp;nbsp; This will allow me to configure some simple Ansible/Puppet/Chef... task to take care of those files.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 12:58:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Automating-the-Deployment-Server/m-p/626778#M26546</guid>
      <dc:creator>Navarro</dc:creator>
      <dc:date>2023-01-11T12:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Automating the Deployment Server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Automating-the-Deployment-Server/m-p/626784#M26547</link>
      <description>&lt;P&gt;If I understand your question correct one way could be to edit the serverclass.conf directly as described in&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.3/Updating/Updateconfigurations#When_editing_serverclass.conf_directly" target="_blank"&gt;Deploy apps to clients - Splunk Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 13:32:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Automating-the-Deployment-Server/m-p/626784#M26547</guid>
      <dc:creator>PaulPanther</dc:creator>
      <dc:date>2023-01-11T13:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Automating the Deployment Server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Automating-the-Deployment-Server/m-p/626785#M26548</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/252834"&gt;@Navarro&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm not sure that you can reload serverclasses.conf file without restarting Splunk on the Deployment Server, you can change apps but not conf files.&lt;/P&gt;&lt;P&gt;Anyway, I don't like to modify conf files by program because you need to restart Splunk and you have the risk to loose control on your deployment.&lt;/P&gt;&lt;P&gt;My hint is alway to design your deployment on paper (or Excel) and use the GUi interface to apply them.&lt;/P&gt;&lt;P&gt;I found a customer that used to modify ServerClasses only by SSH, but always manually, not by program and it was a very singular situation for the competence and the mental order of the user.&lt;/P&gt;&lt;P&gt;In few words, this customer had a very complex distributedd architecture so this use manually modified the serverclasses.conf file adding rows and rows of information in the conf file itself,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In conclusion I don't hint to follow your approach, but you have to choose your own best approach.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 13:39:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Automating-the-Deployment-Server/m-p/626785#M26548</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-11T13:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Automating the Deployment Server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Automating-the-Deployment-Server/m-p/626786#M26549</link>
      <description>&lt;P&gt;I missed that particular paragraph completely!&amp;nbsp; Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 13:41:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Automating-the-Deployment-Server/m-p/626786#M26549</guid>
      <dc:creator>Navarro</dc:creator>
      <dc:date>2023-01-11T13:41:53Z</dc:date>
    </item>
  </channel>
</rss>

