<?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: How to identify active KVstore collections on all Splunk deployment instances? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633767#M15641</link>
    <description>&lt;P&gt;Well, in line with your recommendations...&lt;/P&gt;&lt;P&gt;I am being advised by Internal Splunk Personnel, to upgrade everything except indexers...&lt;/P&gt;&lt;P&gt;My feeling is to disable the kvstore on the indexers but not the other nodes like IDXcluster master etc...&lt;/P&gt;&lt;P&gt;Would you agree? (you can conclude that I value your opinion with equal weight as support &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;, maybe more)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2023 16:44:52 GMT</pubDate>
    <dc:creator>Glasses2</dc:creator>
    <dc:date>2023-03-08T16:44:52Z</dc:date>
    <item>
      <title>How to identify active KVstore collections on all Splunk deployment instances?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633663#M15627</link>
      <description>&lt;P&gt;In order to upgrade Splunk from 8.1.3 to 9.0.4, I need to migrate/upgrade the KVstore engine from MMAPv1 to WiredTiger and then upgrade the KVstore (mongoDB) version to 4.2.&lt;/P&gt;&lt;P&gt;I believe that I only need to upgrade the KVstore on instances with active KVstore collections.&amp;nbsp; &amp;nbsp;And I should stop scheduled searches writing to collections or wait until they are finished before running the migration.&lt;/P&gt;&lt;P&gt;By default the KVstore is enabled on all instances which is a bit confusing, BUT the monitoring console (MC)&amp;nbsp; KVstore dashboard gives me some indication that only the instances with active kvstore collections are the SHC and some HFs...&amp;nbsp; but not my MC/license master or the Deployment Server or the Index Cluster master.&lt;/P&gt;&lt;P&gt;Splunk docs mention that you can disable kvstore and ignore certain collections.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Glasses2_0-1678232807360.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24238i200F7289508780D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Glasses2_0-1678232807360.png" alt="Glasses2_0-1678232807360.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My question is how to verify and identify the active collections on my instances?&lt;BR /&gt;Where is the kvstore files location? (apparently the directory seems to be /opt/splunk/var/lib/splunk/kvstore/mongo)&amp;nbsp; but the files are not human-readable clear...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a query to see the individual KVstore collection file sizes with human-readable names?&lt;/P&gt;&lt;P&gt;This gives me I think most of them... not sure&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest /servicesNS/-/-/data/transforms/lookups  splunk_server=local 
| table eai:acl.app title collection 
| search collection!=""&lt;/LI-CODE&gt;&lt;P&gt;Any advice appreciated.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 00:51:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633663#M15627</guid>
      <dc:creator>Glasses2</dc:creator>
      <dc:date>2023-03-08T00:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify active KVstore collections on all Splunk deployment instances?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633664#M15628</link>
      <description>&lt;P&gt;Please don't upgrade only the instances with active collections because the next day an un-upgraded instance will want to load a collection and fail.&lt;/P&gt;&lt;P&gt;Upgrade all instances that &lt;FONT face="courier new,courier"&gt;can&lt;/FONT&gt; have a collection - search heads and heavy forwarders.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 01:10:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633664#M15628</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-03-08T01:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify active KVstore collections on all Splunk deployment instances?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633666#M15630</link>
      <description>&lt;P&gt;Thank you for the response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You answered me before in another post &amp;gt;&amp;gt;&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Deployment-Architecture/In-a-distributed-and-clustered-environ-which-kvstores-need/td-p/633203" target="_blank"&gt;https://community.splunk.com/t5/Deployment-Architecture/In-a-distributed-and-clustered-environ-which-kvstores-need/td-p/633203&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;upgrade all nodes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I presume there is no harm upgrading&amp;nbsp;&amp;nbsp;a kvstore engine and version on an instance w/ or w/out any active collections?&lt;/P&gt;&lt;P&gt;I am scrambled and support won't even give me a definite answer.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 02:16:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633666#M15630</guid>
      <dc:creator>Glasses2</dc:creator>
      <dc:date>2023-03-08T02:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify active KVstore collections on all Splunk deployment instances?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633723#M15633</link>
      <description>&lt;P&gt;There is never a need to upgrade the KVStore on indexers because indexers do not use the KVStore.&amp;nbsp; Upgrade only Search Heads and Heavy Forwarders.&lt;/P&gt;&lt;P&gt;The determining factor is not if the instance has a collection - it's if the instance has a running KVStore.&lt;/P&gt;&lt;P&gt;Support won't help because this is not a break/fix matter.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 13:35:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633723#M15633</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-03-08T13:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify active KVstore collections on all Splunk deployment instances?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633741#M15637</link>
      <description>&lt;P&gt;Thanks for the clarification (and persevering thru my questions).&amp;nbsp; I really do appreciate it!&lt;/P&gt;&lt;P&gt;My concerns, re: IDXCluster and KVstore, are due to all the non-sensical configurations the previous admins left for me....&lt;/P&gt;&lt;P&gt;It would not surprise me to see something unusual here, as I have seen some really goofy stuff.&amp;nbsp; &amp;nbsp;For instance , I am concerned they did some sort of remote kvstore replication/sync to the indexer peers etc... maybe that doesn't matter, not 100% about that.&lt;/P&gt;&lt;P&gt;Would you advise that I "disable" the KVstore on the indexers? for safety? per Splunk docs&amp;gt;&amp;gt;&amp;gt; &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.3/Admin/AboutKVstore" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.3/Admin/AboutKVstore&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Glasses2_0-1678285929089.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24246i9BE2E69628C64F24/image-size/large?v=v2&amp;amp;px=999" role="button" title="Glasses2_0-1678285929089.png" alt="Glasses2_0-1678285929089.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RE: "upgrade only Search Heads and Heavy Forwarders" ,&amp;nbsp; I see collections (probably default) on my MC/LM instance and Deployment Server instance as well.&amp;nbsp; So I am thinking upgrade those as well? IDK.&lt;/P&gt;&lt;P&gt;when I run this on my MC/LM instance &amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest splunk_server="local" "/services/search/distributed/peers/" 
| search disabled=0 
| rename peerName AS splunk_server 
| fields host splunk_server 
| join type=left splunk_server 
    [| rest splunk_server="*" "/services/kvstore/status" 
    | table splunk_server current.status current.replicationStatus current.storageEngine ] 
| sort - current.storageEngine&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see every instance (including indexers)&amp;nbsp; has a default enabled kvstore in "ready"...&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now, knowing this information, does that change your advice?&lt;/P&gt;&lt;P&gt;RE: support, IDK, I do feel support should be able to answer these questions.&amp;nbsp; I get support is "break/fix" but do I really have to break it first to get help or a couple definitive answers?&lt;BR /&gt;&lt;BR /&gt;I am sure Support will kick it to our Sales Rep and they will say we need to engage PS for 2 week$&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;...&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 14:54:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633741#M15637</guid>
      <dc:creator>Glasses2</dc:creator>
      <dc:date>2023-03-08T14:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify active KVstore collections on all Splunk deployment instances?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633765#M15640</link>
      <description>&lt;P&gt;Indexers definitely do not use KVStore.&amp;nbsp; If you have collections on your indexers then you have other problems.&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&amp;nbsp; Disabling KVStore on indexers isn't a bad idea and can help save resources.&lt;/P&gt;&lt;P&gt;I'm not sure why the MC and DS have collections (could be "goofy stuff"), but it can't hurt to upgrade them.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 16:31:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633765#M15640</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-03-08T16:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify active KVstore collections on all Splunk deployment instances?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633767#M15641</link>
      <description>&lt;P&gt;Well, in line with your recommendations...&lt;/P&gt;&lt;P&gt;I am being advised by Internal Splunk Personnel, to upgrade everything except indexers...&lt;/P&gt;&lt;P&gt;My feeling is to disable the kvstore on the indexers but not the other nodes like IDXcluster master etc...&lt;/P&gt;&lt;P&gt;Would you agree? (you can conclude that I value your opinion with equal weight as support &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;, maybe more)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 16:44:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633767#M15641</guid>
      <dc:creator>Glasses2</dc:creator>
      <dc:date>2023-03-08T16:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify active KVstore collections on all Splunk deployment instances?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633778#M15642</link>
      <description>&lt;P&gt;POA&lt;/P&gt;&lt;P&gt;1) disable KVstore on the indexer instances only&lt;/P&gt;&lt;P&gt;2) update KVstore all other Splunk instances with a "ready" enabled KVstore to be safe.&amp;nbsp; **In my case, all instances are default enabled **&lt;/P&gt;&lt;P&gt;Hopefully everything goes well! I will post if it goes sideways.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 17:30:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-identify-active-KVstore-collections-on-all-Splunk/m-p/633778#M15642</guid>
      <dc:creator>Glasses2</dc:creator>
      <dc:date>2023-03-08T17:30:30Z</dc:date>
    </item>
  </channel>
</rss>

