<?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 Serverclass.conf - Using the same app name under different classes and repositoryLocations now appears broken in v6.0 in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-conf-Using-the-same-app-name-under-different-classes/m-p/172929#M6471</link>
    <description>&lt;P&gt;I've been trying to upgrade our Splunk v5.0.4 deployment server to v6.0.&lt;/P&gt;

&lt;P&gt;It appears that our existing serverclass is now broken under v6.0&lt;/P&gt;

&lt;P&gt;The situation is that we have a few base configurations that are pushed out to all clients and are based on their client type. forwarders, indexers, search heads, job servers and so on. These contain such things as where the deployment server is. Where to forward internal logs (very useful for sos) etc.&lt;/P&gt;

&lt;P&gt;We used a naming standard in which they were all called the same name. ie. "sys_conf".&lt;BR /&gt;
They used the respositoryLocation parameter per class definition (which is a still supported configuration according to current v6.0 documentation - &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Admin/Serverclassconf#serverclass.conf.example" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/Admin/Serverclassconf#serverclass.conf.example&lt;/A&gt; ).&lt;/P&gt;

&lt;P&gt;So an example config.&lt;/P&gt;

&lt;P&gt;INDEXERS - ONLY indexers should get this app.&lt;BR /&gt;
[serverClass:sys_indexer]&lt;BR /&gt;
filterType= blacklist&lt;BR /&gt;
blacklist.0=*&lt;BR /&gt;
whitelist.0=idx&lt;BR /&gt;
restartSplunkd = true&lt;BR /&gt;
repositoryLocation = $SPLUNK_HOME/etc/deployment-apps/sys_config/indexer/&lt;BR /&gt;
[serverClass:sys_indexer:app:sys_conf]&lt;/P&gt;

&lt;P&gt;FORWARDERS  - ONLY forwarders should get this app.&lt;BR /&gt;
[serverClass:sys_forwarder]&lt;BR /&gt;
filterType= blacklist&lt;BR /&gt;
blacklist.0=*&lt;BR /&gt;
whitelist.0=fwder&lt;BR /&gt;
restartSplunkd = true&lt;BR /&gt;
repositoryLocation = $SPLUNK_HOME/etc/deployment-apps/sys_config/forwarder/&lt;BR /&gt;
[serverClass:sys_forwarder:app:sys_conf]&lt;/P&gt;

&lt;P&gt;Each unique repository location contains a "sys_conf" system app containing unique base configurations for that platform type.&lt;/P&gt;

&lt;P&gt;In each clients deploymentclient.conf they have their clientName set to "idx" or "fwder". Checking splunkd.log shows they the correct endpoint is called.&lt;/P&gt;

&lt;P&gt;However on the deployment server if we check /opt/splunk/var/run/tmp/ we will find all bundles for sys_conf.xxxxx will be identical and will only contain the contents of the very first defined repository location for a that unique app name.&lt;/P&gt;

&lt;P&gt;A splunk btool serverclass list output shows the correct order of black listing and classes.&lt;/P&gt;

&lt;P&gt;The issue I have is that its not just for base splunk configurations we have this for but right across various apps and TA's also!&lt;/P&gt;

&lt;P&gt;I can verify this behaviour by picking a previously broken base app and calling the app something unique.&lt;/P&gt;

&lt;P&gt;Has this functionality of being able to use the same app name in different classes and repository locations changed in v6.0?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 15:27:10 GMT</pubDate>
    <dc:creator>Lucas_K</dc:creator>
    <dc:date>2020-09-28T15:27:10Z</dc:date>
    <item>
      <title>Serverclass.conf - Using the same app name under different classes and repositoryLocations now appears broken in v6.0</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-conf-Using-the-same-app-name-under-different-classes/m-p/172929#M6471</link>
      <description>&lt;P&gt;I've been trying to upgrade our Splunk v5.0.4 deployment server to v6.0.&lt;/P&gt;

&lt;P&gt;It appears that our existing serverclass is now broken under v6.0&lt;/P&gt;

&lt;P&gt;The situation is that we have a few base configurations that are pushed out to all clients and are based on their client type. forwarders, indexers, search heads, job servers and so on. These contain such things as where the deployment server is. Where to forward internal logs (very useful for sos) etc.&lt;/P&gt;

&lt;P&gt;We used a naming standard in which they were all called the same name. ie. "sys_conf".&lt;BR /&gt;
They used the respositoryLocation parameter per class definition (which is a still supported configuration according to current v6.0 documentation - &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Admin/Serverclassconf#serverclass.conf.example" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/Admin/Serverclassconf#serverclass.conf.example&lt;/A&gt; ).&lt;/P&gt;

&lt;P&gt;So an example config.&lt;/P&gt;

&lt;P&gt;INDEXERS - ONLY indexers should get this app.&lt;BR /&gt;
[serverClass:sys_indexer]&lt;BR /&gt;
filterType= blacklist&lt;BR /&gt;
blacklist.0=*&lt;BR /&gt;
whitelist.0=idx&lt;BR /&gt;
restartSplunkd = true&lt;BR /&gt;
repositoryLocation = $SPLUNK_HOME/etc/deployment-apps/sys_config/indexer/&lt;BR /&gt;
[serverClass:sys_indexer:app:sys_conf]&lt;/P&gt;

&lt;P&gt;FORWARDERS  - ONLY forwarders should get this app.&lt;BR /&gt;
[serverClass:sys_forwarder]&lt;BR /&gt;
filterType= blacklist&lt;BR /&gt;
blacklist.0=*&lt;BR /&gt;
whitelist.0=fwder&lt;BR /&gt;
restartSplunkd = true&lt;BR /&gt;
repositoryLocation = $SPLUNK_HOME/etc/deployment-apps/sys_config/forwarder/&lt;BR /&gt;
[serverClass:sys_forwarder:app:sys_conf]&lt;/P&gt;

&lt;P&gt;Each unique repository location contains a "sys_conf" system app containing unique base configurations for that platform type.&lt;/P&gt;

&lt;P&gt;In each clients deploymentclient.conf they have their clientName set to "idx" or "fwder". Checking splunkd.log shows they the correct endpoint is called.&lt;/P&gt;

&lt;P&gt;However on the deployment server if we check /opt/splunk/var/run/tmp/ we will find all bundles for sys_conf.xxxxx will be identical and will only contain the contents of the very first defined repository location for a that unique app name.&lt;/P&gt;

&lt;P&gt;A splunk btool serverclass list output shows the correct order of black listing and classes.&lt;/P&gt;

&lt;P&gt;The issue I have is that its not just for base splunk configurations we have this for but right across various apps and TA's also!&lt;/P&gt;

&lt;P&gt;I can verify this behaviour by picking a previously broken base app and calling the app something unique.&lt;/P&gt;

&lt;P&gt;Has this functionality of being able to use the same app name in different classes and repository locations changed in v6.0?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:27:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-conf-Using-the-same-app-name-under-different-classes/m-p/172929#M6471</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2020-09-28T15:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Serverclass.conf - Using the same app name under different classes and repositoryLocations now appears broken in v6.0</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-conf-Using-the-same-app-name-under-different-classes/m-p/172930#M6472</link>
      <description>&lt;P&gt;Support confirms this as a reproducible v6.0 issue so I will just have to wait on a fix.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2013 04:08:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-conf-Using-the-same-app-name-under-different-classes/m-p/172930#M6472</guid>
      <dc:creator>Lucas_K</dc:creator>
      <dc:date>2013-12-13T04:08:58Z</dc:date>
    </item>
  </channel>
</rss>

