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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...