Splunk Enterprise

Moving a cold database to different drive.

brentsinawski
Explorer

Hi All,

In my environment we have 6 indexers and one searchead which all are running server 2012.  We are running out of space on the physical indexers which are limited by physical drives. I have a san connection to all of the indexers.

How would i move just the coldDBs to a separate drive? Leaving warm to stay on the original drives?

eg.  I have [Linux]
homePath = volume:hot\Linux\db
coldPath = volume:cold\Linux\colddb
thawedPath = $SPLUNK_DB\Linux\thaweddb
tstatsHomePath = volume:tstatsHomePath\Linux\datamodel_summary
maxTotalDataSizeMB = 7500000
frozenTimePeriodInSecs = 31536000

 

I would like coldPath = F:\Linux\Colddb and move the current coldDBs over to the new drive and be searchable.  How would I accomp

Labels (2)
Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Here's the process I would use.

  1. Change the volume definition in indexes.conf to point to the new colddb location.  Do NOT restart the indexers.
  2. COPY the cold buckets to the new location.
  3. Restart the indexers so they use the new indexer.conf settings.
  4. Delete the old cold buckets.
---
If this reply helps you, Karma would be appreciated.

View solution in original post

brentsinawski
Explorer

Thanks!  

I have a deployment server.  Should I change index.conf to point to the new location prior to copying all of the data to the new location?  Or should i copy the data first then change index.conf? 

 

Thanks again!

0 Karma

richgalloway
SplunkTrust
SplunkTrust

The deployment server is not involved in this.

You can changes indexes.conf before or after copying the data.  The important part is to not restart the indexers with the new configuration until the cold data is in place.

---
If this reply helps you, Karma would be appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Here's the process I would use.

  1. Change the volume definition in indexes.conf to point to the new colddb location.  Do NOT restart the indexers.
  2. COPY the cold buckets to the new location.
  3. Restart the indexers so they use the new indexer.conf settings.
  4. Delete the old cold buckets.
---
If this reply helps you, Karma would be appreciated.
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...