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!

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

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...