Installation

How to migrate entire Indexer cluster from one set of VMs to another set of VMs?

saurabh0912
Path Finder
 
Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Install Splunk on the new VMs and add them to the existing indexer cluster.

Put the old indexers into manual detention

splunk edit cluster-config -auth <username>:<password> -manual_detention on

For each indexer on the old VMs:

  • Down the indexer using the splunk off-line --enforce-counts command
  • Wait for the cluster to balance the buckets.  The indexer will stop itself.

Install a new Cluster Manager on the new VMs.  Point the new indexers to the new CM.

splunk edit cluster-config -mode peer -master_uri https://<CM URI>:8089 -replication_port 9887 -secret your_key

splunk restart

Shut down the old CM.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

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 ...