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!

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...

Splunk AppDynamics with Cisco Secure Application

Web applications unfortunately present a target rich environment for security vulnerabilities and attacks. ...

New Splunk Innovations Enhance Performance and Accelerate Troubleshooting

Splunk is excited to announce new releases that empower ITOps and engineering teams to stay ahead in ever ...