Splunk Enterprise

SmartStore local cache migration

hansmaldonado
New Member

How can I migrate SmartStore's local storage to a new storage device with no interruption to search and indexing functionality?
Could it be as simple as updating homePath one index at a time, restarting the indexers, and allowing the cache manager to do the rest? 

0 Karma

livehybrid
Influencer

Hi @hansmaldonado 

The easiest thing might be to push an update out via the Cluster Manager to point to the new home path, however this will ultimately mean that you have zero cache and subsequent searches may be slow whilst the cache re-populates. 

If you wanted to retain the cached data to prevent this then I think this may be possible, depending on your configuration/architecture. While in maintenance mode, shutdown one indexer at a time, move the cached files from the existing location to the home path and then update the indexes.conf to reflect the new path. Once you start the indexer back up you will have the original cache files locally on that indexer but in the new location. 

You will then need to do this for each indexer. This isnt necessarily the ideal way to do it but will mean that you do not need to re-download cached data. This will also mean that you indexes.conf will vary between indexers until you have completed. Once complete you should push out an updated indexes.conf via the CM with the updated settings so that you arent in a position where it could revert back! 

I would recommend trying this approach in a development environment first to ensure you are happy with the process involved. 

Please let me know how you get on and consider upvoting/karma this answer if it has helped.
Regards

Will

0 Karma
Get Updates on the Splunk Community!

SOC Modernization: How Automation and Splunk SOAR are Shaping the Next-Gen Security ...

Security automation is no longer a luxury but a necessity. Join us to learn how Splunk ES and SOAR empower ...

Ask It, Fix It: Faster Investigations with AI Assistant in Observability Cloud

  Join us in this Tech Talk and learn about the recently launched AI Assistant in Observability Cloud. With ...

Index This | How many sides does a circle have?

  March 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...