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!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...