Deployment Architecture

How to reset corrupt peer (indexer) from cluster?

splunkreal
Motivator

Hello,

how to remove and clean corrupt peer (indexer) from cluster?

Should we stop it then after hardware maintenance delete all indexes data directories then start it again to resync whole data from other peers?

Thanks!

 

* If this helps, please upvote or accept solution if it solved *
Labels (3)
0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust

Then the easiest way it just add a new peer (if you have spare instance to take into use) and then remove old one. If you haven't a space node then just remove it first, fix disks and add it back as a new clean installation (remove splunk from it first!).

View solution in original post

splunkreal
Motivator

Hi @isoutamo if hard disks are corrupted for instance and need to remove all data then reset Splunk.

* If this helps, please upvote or accept solution if it solved *
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Then the easiest way it just add a new peer (if you have spare instance to take into use) and then remove old one. If you haven't a space node then just remove it first, fix disks and add it back as a new clean installation (remove splunk from it first!).

splunkreal
Motivator

OK so this requires to reinstall Splunk then. Thanks a lot!

* If this helps, please upvote or accept solution if it solved *
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

what you are meaning when you are saying that peer is corrupted?

Basically just add one node then remove old one if possible. Of course you can do it in another order too, but then you need more free spaces on current nodes.

Here is one (of many) old answer for this https://community.splunk.com/t5/Deployment-Architecture/Swap-indexers-from-indexer-cluster-with-new-...

r. Ismo

Get Updates on the Splunk Community!

Community Feedback

We Want to Hear from You! Share Your Feedback on the Splunk Community   The Splunk Community is built for you ...

Manual Instrumentation with Splunk Observability Cloud: Implementing the ...

In our observability journey so far, we've built comprehensive instrumentation for our Worms in Space ...

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...