Knowledge Management

Migrating Splunk data from NFS to Block storage

brad63
Engager

What is the process from migrating Splunk data from NFS based storage to Block based storage?

Tags (2)

mikelanghorst
Motivator

There's nothing really special about NFS when storing the data there (other than performance issues). I'd just use "rsync -avot" to copy over the data. That way you can run it prior to your cutover time to get it close. Then shutdown, rsync a final time, change your configs, and start. When I'd done similar, though on SAN my multi-TB switchover only took about 15min of downtime.

sowings
Splunk Employee
Splunk Employee

The only comment I'll make here is that if you rsync a bucket in its hot state (a directory name like hot_v1_15) and then later rsync again, but this time the bucket has been moved to warm (a name like db_1381409248_1381408249_15), Splunk will refuse to start because of the collision between the bucket IDs (the _15 at the end).

After your first rsync, but before your cutover, remove any hot buckets from the target system.

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...