<?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 complete a KVStore Migration in Installation</title>
    <link>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/630988#M12388</link>
    <description>&lt;P&gt;Has anyone seen the following message after upgrading the storage engine to WireTiger?&lt;BR /&gt;&lt;BR /&gt;Executing:&lt;BR /&gt;splunk migrate migrate-kvstore&lt;BR /&gt;&lt;BR /&gt;Output:&lt;BR /&gt;[App Key Value Store migration] Collection data is not available.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2023 15:15:48 GMT</pubDate>
    <dc:creator>computermathguy</dc:creator>
    <dc:date>2023-02-15T15:15:48Z</dc:date>
    <item>
      <title>How to complete a KVStore migration?</title>
      <link>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/585968#M11246</link>
      <description>&lt;P&gt;I have upgraded to Splunk 8.2.3 recently in a test environment. The last step in upgrading our slightly outdated environment is to migrate the KVStore. I don't understand the directions. What system are we going into "the&amp;nbsp;server.conf in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;$SPLUNK_HOME/etc/system/local/&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;directory." Is it in the Deployer? Cluster Master? Any of the search heads we have? If that file is edited in one system, how is it being pushed to the search heads?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Also could we leave the variable&amp;nbsp;storageEngineMigration=true in that file or does it have to stay as false when not migrating?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;@https://docs.splunk.com/Documentation/Splunk/8.2.3/Admin/MigrateKVstore&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 17:14:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/585968#M11246</guid>
      <dc:creator>ggvaca</dc:creator>
      <dc:date>2022-02-22T17:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: KVStore Migration</title>
      <link>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/585974#M11247</link>
      <description>&lt;P&gt;I'm assuming you fall under this category in the documentation? -&amp;gt; &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.3/Admin/MigrateKVstore#Migrate_the_KV_store_after_an_upgrade_to_Splunk_Enterprise_8.1_or_higher_in_a_clustered_deployment" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.3/Admin/MigrateKVstore#Migrate_the_KV_store_after_an_upgrade_to_Splunk_Enterprise_8.1_or_higher_in_a_clustered_deployment&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If so, it looks like you modify the "server.conf" on each of the search head members (step #1). Then just follow the other steps after that.&lt;/P&gt;&lt;P&gt;Probably doesn't need to be said but back up your KV store just in case...&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.3/Admin/BackupKVstore" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.3/Admin/BackupKVstore&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 00:07:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/585974#M11247</guid>
      <dc:creator>m_pham</dc:creator>
      <dc:date>2022-02-22T00:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to complete a KVStore Migration</title>
      <link>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/586083#M11254</link>
      <description>&lt;P&gt;What about leaving the&amp;nbsp;&lt;SPAN&gt;variable&amp;nbsp;storageEngineMigration=true in the server.conf? We use Git to store and run our files and I wasn't sure if this was a one and done situation after we upgrade or if we are going to want to push out this file to every system? It seems like this is a one and done once we upgrade.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 16:39:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/586083#M11254</guid>
      <dc:creator>ggvaca</dc:creator>
      <dc:date>2022-02-22T16:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to complete a KVStore Migration</title>
      <link>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/586085#M11255</link>
      <description>&lt;P&gt;I don't see anything about changing it back to false, so it seems like a permanent configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;storageEngineMigration = &amp;lt;boolean&amp;gt; 
* Whether or not you can migrate the KV Store storage engine on this instance.
* Migrating the storage engine means changing the engine from 'mmap' to 
  the newer 'wiredTiger'.
* If you set this to "true", the instance lets you migrate the engine,
  depending on the following scenarios:
  * If this instance is standalone, you can migrate the engine during
    an upgrade by enabling this setting with a "true" value as part of 
    the upgrade process and answering affirmatively when that process 
    prompts you, or after an upgrade by using the
    'splunk migrate kvstore-storage-engine' CLI command.
  * If it is a part of a search head cluster, you can perform the migration using the
    '/services/shcluster/captain/kvmigrate/start' REST endpoint.
* If you set this to "false", you cannot migrate the storage engine.
* Default: false&lt;/LI-CODE&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.3/Admin/Serverconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.3/Admin/Serverconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 17:02:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/586085#M11255</guid>
      <dc:creator>m_pham</dc:creator>
      <dc:date>2022-02-22T17:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to complete a KVStore Migration</title>
      <link>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/607073#M11771</link>
      <description>&lt;P&gt;I can attest that removing this stanza after the migration will cause Splunk to revert to the mmapv1 storage engine on restart. It will fail to start the kvstore and you cannot re-migrate the kvstore even if you add the setting back.&lt;/P&gt;&lt;P&gt;Now I have to figure out how to clean everything out and start over.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 18:40:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/607073#M11771</guid>
      <dc:creator>JustinSC</dc:creator>
      <dc:date>2022-07-26T18:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to complete a KVStore Migration</title>
      <link>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/619584#M12064</link>
      <description>&lt;P&gt;Splunk will migrate and upgrade kvstore automatically if the instance is running in standard alone mode.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;if Splunk instance is involved in any clustering ( search head , indexer ) then kvstore has to be manually migrated and upgraded. this applies to Deployer as well.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;there is no need of changing&amp;nbsp;storageEngineMigration = true if you follow below link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.2/Admin/MigrateKVstore?ref=hk" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.2/Admin/MigrateKVstore?ref=hk&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In search head cluster, its 3 step process.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#verify if kvstore can be migrated by running below command

splunk start-shcluster-migration kvstore -storageEngine wiredTiger -isDryRun true

#initiate migrate
/opt/splunk/bin/splunk start-shcluster-migration kvstore  -storageEngine wiredTiger 

#wait until it compltes, you can check status 
splunk show shcluster-kvmigration-status
#initiate upgrade 
splunk start-shcluster-upgrade kvstore -version 4.2
#wait until it completes, you can check status 
splunk show kvstore-status --verbose

output once it's completed
 KVStore Migration Status:
                migrationStatus: kvstore_migration_completed
                Start Time: Fri Nov  4 08:50:16 2022
                End Time: Fri Nov  4 08:55:06 2022
                Migration ID: 1667537416
                Peer Retries: 1
                Cluster Percentage: 100
                Storage Engine: wiredTiger

        Peer Status List:
                https://sh1:8089:
                        migrationStatus: succeeded
                https://sh2:8089:
                        migrationStatus: succeeded
                https://sh3:8089:
                        migrationStatus: succeeded


#finally remove unnecessary files 
Delete the following files from the $SPLUNK_HOME/bin directory:
mongod-3.6
mongod-4.0
mongodump-3.6
mongorestore-3.6&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;</description>
      <pubDate>Fri, 04 Nov 2022 05:40:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/619584#M12064</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2022-11-04T05:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to complete a KVStore Migration</title>
      <link>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/630988#M12388</link>
      <description>&lt;P&gt;Has anyone seen the following message after upgrading the storage engine to WireTiger?&lt;BR /&gt;&lt;BR /&gt;Executing:&lt;BR /&gt;splunk migrate migrate-kvstore&lt;BR /&gt;&lt;BR /&gt;Output:&lt;BR /&gt;[App Key Value Store migration] Collection data is not available.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 15:15:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/630988#M12388</guid>
      <dc:creator>computermathguy</dc:creator>
      <dc:date>2023-02-15T15:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to complete a KVStore Migration</title>
      <link>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/631231#M12389</link>
      <description>&lt;P&gt;Do we need to initiate migration from SHC captain or KV Store captain?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 17:57:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/631231#M12389</guid>
      <dc:creator>vinothkumark</dc:creator>
      <dc:date>2023-02-16T17:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to complete a KVStore Migration</title>
      <link>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/658625#M13270</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;We are facing the same issue, both on versions 8.2.9 and version 8.2.12. We did not find a solution yet, but raised a support ticket.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 16:35:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-complete-a-KVStore-migration/m-p/658625#M13270</guid>
      <dc:creator>Martin_Doering</dc:creator>
      <dc:date>2023-09-25T16:35:06Z</dc:date>
    </item>
  </channel>
</rss>

