Deployment Architecture

Migrate Splunk to a new server

erstexas
Path Finder

I will be moving an existing Splunk installation (and all the data, inputs and customizations, etc) over to a new server (Linux to Linux) and from what I gathered from all the documentation, the process would be this:

  1. Install a default Splunk installation on the new server
  2. Make sure Splunk is not running on both servers
  3. Copy the entire install directory (/opt/splunk/ in my case) from the old server to the new server overwriting all files
  4. Start Splunk on the new server

Is this the entire process for a Linux to Linux server migration? I just need clarification because there are conflicting pieces of advice on whether you copy the files over first and then install Splunk on top, or install Splunk first and then copy the files over the new installation.

Please advise.

Tags (3)
0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

Depends on the version numbers. In theory, you can do this:

  1. Stop Splunk on OLD server
  2. Copy /opt/splunk to NEW server
  3. Start Splunk on NEW server.

However, if this is also your indexer, you may have to wait a looong time to transfer the indexes.

erstexas
Path Finder

Latest and greatest version - 5.0.4

And yes, this is the indexer. I'm looking at applying retention rules to the indexes before migration to hopefully reduce db sizes.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...