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 🙂 *
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 🙂 *
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 🙂 *
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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

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