<?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: Why doesn't the modification propagate to the search head cluster via the deployer ? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669682#M27731</link>
    <description>&lt;P&gt;I has read about this little bit more and to be honest I couldn't found a clear answer and any reason why this has worked like that way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Wheretofindtheconfigurationfiles?_gl=1*1curb9*_ga*ODYxMDMwNTIyLjE2OTkzODQ4NTA.*_ga_GS7YF8S63Y*MTcwMDg0OTgyOS4zOC4xLjE3MDA4NDk4MzguNTEuMC4w*_ga_5EPM2P39FV*MTcwMDg0OTgyOS40NS4xLjE3MDA4NDk4NDAuMC4wLjA.&amp;amp;_ga=2.208694738.192140517.1700652640-861030522.1699384850#App.2Fuser_configuration_files" target="_blank"&gt;App/user configuration files&lt;/A&gt;&amp;nbsp;said that app.conf is for user/app level only. You cannot use it for global configurations, BUT still the instructions said that you should put it into etc/system/local/app.conf to use it as a global (&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/DistSearch/PropagateSHCconfigurationchanges?_gl=1*1lzd72i*_ga*ODYxMDMwNTIyLjE2OTkzODQ4NTA.*_ga_GS7YF8S63Y*MTcwMDgyODMxMS4zNi4xLjE3MDA4Mzk0NTkuNjAuMC4w*_ga_5EPM2P39FV*MTcwMDgyODMwOS40My4xLjE3MDA4Mzk0NjEuMC4wLjA.&amp;amp;_ga=2.208224722.192140517.1700652640-861030522.1699384850#Set_the_deployer_push_mode" target="_blank"&gt;Set the deployer push mode&lt;/A&gt;). This is quite confusing!&amp;nbsp;And actually that file is on deployer on path etc/shcluster/apps/&amp;lt;app&amp;gt; not in etc/apps/&amp;lt;app&amp;gt; which basically means that it's hasn't merged(/affected) with other app files when bundle has applied &amp;nbsp;(read: created) on deployer. Precedence has used only for files under etc/apps/&amp;lt;app&amp;gt; + etc/system if I have understood right.&lt;/P&gt;&lt;P&gt;Usually when you have created your own app you set all configurations into default not a local directory. This should haven't have any other side effect, than where it has put, when bundle has applied into SHC members. Of course also e.g. pass4SymmKeys etc. is crypted (and plain text has removed) only on those files, which are in local!&lt;/P&gt;&lt;P&gt;If you have some apps e.g. from splunkbase, then you should put your local changes under local directory, avoid to lost those, when you update that app to the newer version.&lt;/P&gt;&lt;P&gt;But it shouldn't depend that way based on where app.conf is default vs. local. If this has some side effects then it should mentioned on docs. I haven't seen any mention that default vs local has used for setting global vs. local values. It's only the precedence which those are used.&lt;/P&gt;&lt;P&gt;Definitely this needs some feedback to doc team.&lt;/P&gt;&lt;P&gt;BTW:&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/143725"&gt;@pmerlin1&lt;/a&gt;&amp;nbsp;you said that you have migrated from SH to SHC. Have you followed the instructions and use only clean and new SH as a members on this SHC not reuse (without cleaning) the old SH?&lt;/P&gt;</description>
    <pubDate>Fri, 24 Nov 2023 18:56:06 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2023-11-24T18:56:06Z</dc:date>
    <item>
      <title>Why doesn't the modification propagate to the search head cluster via the deployer ?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/666525#M27633</link>
      <description>&lt;P&gt;Hello Splunkers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the deployer to deploy config apps or add_ons on a search head cluster. This works when I want to deploy a new app or delete an app. I see that the search head cluster initiates a rolling restart after each apply-bundle command on the deployer. But when I modify a file in an app (etc/shcluster/app) and run the apply-bundle command, the modification is not propagated to the cluster. What's wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 13:00:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/666525#M27633</guid>
      <dc:creator>pmerlin1</dc:creator>
      <dc:date>2023-10-27T13:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't the modification propagate to the search head cluster via the deployer ?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/667857#M27670</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/143725"&gt;@pmerlin1&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Can you please elaborate any specific file changes which are not getting replicated ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;There could be a possibility that those changes might have been changed at run time, hence they are not getting updated from deployer ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refer below document for more details.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/DistSearch/PropagateSHCconfigurationchanges" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/latest/DistSearch/PropagateSHCconfigurationchanges&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 12:16:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/667857#M27670</guid>
      <dc:creator>badrinath_itrs</dc:creator>
      <dc:date>2023-11-08T12:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't the modification propagate to the search head cluster via the deployer ?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669580#M27720</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;In fact my problem is not one, it is the normal behavior of Splunk.&amp;nbsp; Before I had a single search head and all the .conf files were in the local directory to override the default settings. When I migrated the search head into a search head cluster I kept this principle. Splunk's philosophy and best practice is that the deployer must deploy files that are not changing "locally" on the search head. These files must therefore be put in the default directory. To resolve my problem I had to move the files from local directory to the default directory then run the apply shcluster-bundle command. Now it works as expected.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 16:08:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669580#M27720</guid>
      <dc:creator>pmerlin1</dc:creator>
      <dc:date>2023-11-23T16:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't the modification propagate to the search head cluster via the deployer ?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669594#M27721</link>
      <description>&lt;P&gt;Read about the push modes&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.2/DistSearch/PropagateSHCconfigurationchanges#Choose_a_deployer_push_mode" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.2/DistSearch/PropagateSHCconfigurationchanges#Choose_a_deployer_push_mode&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 20:05:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669594#M27721</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-11-23T20:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't the modification propagate to the search head cluster via the deployer ?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669612#M27724</link>
      <description>If/when you have issues with lookups (e.g. time by time you found old lookups on SHC), you should check this &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/DistSearch/PropagateSHCconfigurationchanges#Preserve_lookup_files_across_app_upgrades" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/DistSearch/PropagateSHCconfigurationchanges#Preserve_lookup_files_across_app_upgrades&lt;/A&gt;&lt;BR /&gt;r. Ismo</description>
      <pubDate>Fri, 24 Nov 2023 06:35:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669612#M27724</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-11-24T06:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't the modification propagate to the search head cluster via the deployer ?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669655#M27725</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I investigate more on my case.&amp;nbsp;&lt;SPAN&gt;I find why the changes were not propagate to the search head cluster.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I install on my deployer in the apps directory,&amp;nbsp; an add-on to backup config files with scheduling. This addon has a default/app.conf file whith shclustering stanza like this :&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[shclustering]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# full as local changes are pushed via deployer and we want to preserve them&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;deployer_push_mode&lt;/SPAN&gt;&lt;SPAN&gt; = full&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# lookups from deployer priority&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;deployer_lookups_push_mode&lt;/SPAN&gt;&lt;SPAN&gt; = always_overwrite&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This setting changes&amp;nbsp; the default push mode for all deployment with the deployer.&lt;/P&gt;&lt;P&gt;So I decide to remove this app from the deployer. And now all lookups are preserved and all config files in the local directory pushed by the deployer as merged in the default directory&amp;nbsp;on the member cluster as expected from the documentation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 14:39:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669655#M27725</guid>
      <dc:creator>pmerlin1</dc:creator>
      <dc:date>2023-11-24T14:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't the modification propagate to the search head cluster via the deployer ?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669656#M27726</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;this sounds like a bug!&lt;/P&gt;&lt;P&gt;What I have assumed is that app.conf is only for that app not for a global settings unless it has said other way!&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should raise a support case about this and if needed ask that docs will be updated it which is the planned behaviour.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 14:44:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669656#M27726</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-11-24T14:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't the modification propagate to the search head cluster via the deployer ?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669659#M27727</link>
      <description>&lt;P&gt;I don t know if it is a bug.&amp;nbsp; but from the documentation (&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.2/DistSearch/PropagateSHCconfigurationchanges" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.2/DistSearch/PropagateSHCconfigurationchanges&lt;/A&gt;) , I understand if you want to change behavior specifically for an app, the settings must be in the local/app.conf (app setting) not default/app.conf (global setting)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(optional) Set the deployer push mode for one app only in the&amp;nbsp;[shclustering]&amp;nbsp;stanza in&amp;nbsp;$SPLUNK_HOME/etc/shcluster/apps/&amp;lt;app&amp;gt;/&lt;STRONG&gt;local/app.conf&lt;/STRONG&gt;&amp;nbsp;for that specific app. You might need to add the&amp;nbsp;[shclustering]&amp;nbsp;stanza to the&amp;nbsp;app.conf&amp;nbsp;file if it is not already present. For example:&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 14:51:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669659#M27727</guid>
      <dc:creator>pmerlin1</dc:creator>
      <dc:date>2023-11-24T14:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't the modification propagate to the search head cluster via the deployer ?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669666#M27729</link>
      <description>&lt;P&gt;Nice found! How I read it is&lt;/P&gt;&lt;P&gt;if it is under&amp;nbsp;&lt;STRONG&gt;$SPLUNK_HOME/etc/system/local&amp;nbsp;&lt;/STRONG&gt; on individual SHC node / deployer(?) then it's global, but when it's under&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;$SPLUNK_HOME/etc/shcluster/apps/&amp;lt;app&amp;gt;/&lt;/SPAN&gt;&lt;/STRONG&gt; then is local for that app. It's not a dependent on default vs local inside one app!&lt;/P&gt;&lt;P&gt;So if it's on your&amp;nbsp;&lt;SPAN&gt;$SPLUNK_HOME/etc/shcluster/apps/&amp;lt;app&amp;gt;/ then it should be only local for that one app not for all apps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this is depending on default vs. local folder inside any apps inside etc/shcluster/apps folder then is't not what is said on doc and it should reported as bug/error in docs.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 15:14:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669666#M27729</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-11-24T15:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't the modification propagate to the search head cluster via the deployer ?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669670#M27730</link>
      <description>&lt;P&gt;Actually it's a bit unclear and calls for clarification indeed.&lt;/P&gt;&lt;P&gt;The &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Wheretofindtheconfigurationfiles" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Wheretofindtheconfigurationfiles&lt;/A&gt; document doesn't mention the app.conf file in shcluster directory at all.&lt;/P&gt;&lt;P&gt;Only the &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/DistSearch/PropagateSHCconfigurationchanges#Set_the_deployer_push_mode" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/DistSearch/PropagateSHCconfigurationchanges#Set_the_deployer_push_mode&lt;/A&gt; specifies that app.conf for a given app must be configured in app/local/app.conf&lt;/P&gt;&lt;P&gt;So my understanding is that global push mode is processed with normal precedence rules and can be set anywhere in the "normal" chain of config parsing and overlaying but the overwrite for a specific app must be placed in this app's local directory.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 15:23:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669670#M27730</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-11-24T15:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't the modification propagate to the search head cluster via the deployer ?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669682#M27731</link>
      <description>&lt;P&gt;I has read about this little bit more and to be honest I couldn't found a clear answer and any reason why this has worked like that way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Wheretofindtheconfigurationfiles?_gl=1*1curb9*_ga*ODYxMDMwNTIyLjE2OTkzODQ4NTA.*_ga_GS7YF8S63Y*MTcwMDg0OTgyOS4zOC4xLjE3MDA4NDk4MzguNTEuMC4w*_ga_5EPM2P39FV*MTcwMDg0OTgyOS40NS4xLjE3MDA4NDk4NDAuMC4wLjA.&amp;amp;_ga=2.208694738.192140517.1700652640-861030522.1699384850#App.2Fuser_configuration_files" target="_blank"&gt;App/user configuration files&lt;/A&gt;&amp;nbsp;said that app.conf is for user/app level only. You cannot use it for global configurations, BUT still the instructions said that you should put it into etc/system/local/app.conf to use it as a global (&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/DistSearch/PropagateSHCconfigurationchanges?_gl=1*1lzd72i*_ga*ODYxMDMwNTIyLjE2OTkzODQ4NTA.*_ga_GS7YF8S63Y*MTcwMDgyODMxMS4zNi4xLjE3MDA4Mzk0NTkuNjAuMC4w*_ga_5EPM2P39FV*MTcwMDgyODMwOS40My4xLjE3MDA4Mzk0NjEuMC4wLjA.&amp;amp;_ga=2.208224722.192140517.1700652640-861030522.1699384850#Set_the_deployer_push_mode" target="_blank"&gt;Set the deployer push mode&lt;/A&gt;). This is quite confusing!&amp;nbsp;And actually that file is on deployer on path etc/shcluster/apps/&amp;lt;app&amp;gt; not in etc/apps/&amp;lt;app&amp;gt; which basically means that it's hasn't merged(/affected) with other app files when bundle has applied &amp;nbsp;(read: created) on deployer. Precedence has used only for files under etc/apps/&amp;lt;app&amp;gt; + etc/system if I have understood right.&lt;/P&gt;&lt;P&gt;Usually when you have created your own app you set all configurations into default not a local directory. This should haven't have any other side effect, than where it has put, when bundle has applied into SHC members. Of course also e.g. pass4SymmKeys etc. is crypted (and plain text has removed) only on those files, which are in local!&lt;/P&gt;&lt;P&gt;If you have some apps e.g. from splunkbase, then you should put your local changes under local directory, avoid to lost those, when you update that app to the newer version.&lt;/P&gt;&lt;P&gt;But it shouldn't depend that way based on where app.conf is default vs. local. If this has some side effects then it should mentioned on docs. I haven't seen any mention that default vs local has used for setting global vs. local values. It's only the precedence which those are used.&lt;/P&gt;&lt;P&gt;Definitely this needs some feedback to doc team.&lt;/P&gt;&lt;P&gt;BTW:&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/143725"&gt;@pmerlin1&lt;/a&gt;&amp;nbsp;you said that you have migrated from SH to SHC. Have you followed the instructions and use only clean and new SH as a members on this SHC not reuse (without cleaning) the old SH?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 18:56:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-doesn-t-the-modification-propagate-to-the-search-head/m-p/669682#M27731</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-11-24T18:56:06Z</dc:date>
    </item>
  </channel>
</rss>

