Deployment Architecture

Splunk Search Head Captain Election

munang
Path Finder

 Hello.

I have a question about the captain selection process.


Let me ask you a question using the example below.

1. In a clustering of four searchheads, the captain goes down.

2. Among the remaining three, the search header whose timer expired earliest asks the remaining two to vote.

3. The remaining two cars vote for the search header whose timer ended early.

4. Although two votes were received, the captain election failed because three votes were required due to the majority rule.

This is the process of captain selection in my opinion.

However, when I practiced it myself, even if one of the four planes was down, another captain was automatically selected from the three remaining planes. How is this possible when there are not enough votes?

Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

The candidate always votes for itself.  Therefore, there are three votes for the new captain.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

munang
Path Finder

@richgalloway Thank you so much for the clear answer!

richgalloway
SplunkTrust
SplunkTrust

The candidate always votes for itself.  Therefore, there are three votes for the new captain.

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

Monitoring Postgres with OpenTelemetry

Behind every business-critical application, you’ll find databases. These behind-the-scenes stores power ...

Mastering Synthetic Browser Testing: Pro Tips to Keep Your Web App Running Smoothly

To start, if you're new to synthetic monitoring, I recommend exploring this synthetic monitoring overview. In ...

Splunk Edge Processor | Popular Use Cases to Get Started with Edge Processor

Splunk Edge Processor offers more efficient, flexible data transformation – helping you reduce noise, control ...