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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...