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 Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...