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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...