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!

Index This | What’s a riddle wrapped in an enigma?

September 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

BORE at .conf25

Boss Of Regular Expression (BORE) was an interactive session run again this year at .conf25 by the brilliant ...

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...