Cluster Manager Failover via Heartbeat Monitoring
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing cluster architectures for data backup face challenges in maintaining high availability and robust disaster recovery while minimizing data loss, especially due to single points of failure like the cluster manager.
Innovation Solution
Implementing a dynamic cluster manager failover mechanism using a semi-bidirectional heartbeat mechanism and a split-brain prevention strategy to ensure seamless failover and prevent split-brain conditions in multi-site clusters.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If a single cluster manager is used to coordinate data replication and search operations, then device complexity is reduced, but reliability deteriorates due to single point of failure
Solution Approach 1:
The cluster manager functionality is segmented into multiple independent instances (first cluster manager and second cluster manager) that can operate independently. Each instance can assume the active role, eliminating the single point of failure while maintaining manageable complexity through functional division.
Solution Approach 2:
Different cluster manager instances have different operational states (active or standby) at different times. The system dynamically assigns local qualities (active/standby roles) to different instances based on operational needs, allowing high availability without requiring all instances to simultaneously perform all functions.
2Reliability
If active-active recovery is implemented with multiple cluster managers, then reliability is improved, but device complexity increases
Solution Approach 1:
The system implements a heartbeat mechanism where cluster manager instances continuously monitor each other's operational status. This feedback loop enables automatic detection of failures and triggers appropriate failover actions, improving reliability while keeping the complexity manageable through automated monitoring and response.
Solution Approach 2:
The cluster manager instances automatically perform failover operations without requiring external intervention. When a failure is detected through the heartbeat mechanism, the standby instance automatically assumes the active role, enabling self-healing and reducing operational complexity.
3Reliability
If data is spread across multiple cluster members for backup, then reliability is improved, but loss of time increases during failover operations
Solution Approach 1:
The system maintains a standby cluster manager instance that is pre-configured and ready to assume the active role immediately upon failure detection. This preliminary preparation eliminates the need for time-consuming initialization during failover, reducing downtime while maintaining data availability through distributed storage.
Solution Approach 2:
The heartbeat mechanism operates continuously to monitor cluster manager health, enabling immediate detection and response to failures. This continuous monitoring ensures that failover can begin instantly when needed, minimizing interruption to data access operations while maintaining reliability through redundant instances.
Data Source
AI summary
A method of dynamic cluster manager failover includes routing data traffic associated with managing a plurality of indexers in a cluster to a first cluster manager, wherein the first cluster manager is associated with an active role and is operable to manage the plurality of indexers in the cluster. The method also includes transmitting periodic heartbeat request messages from a second cluster manager of the cluster to the first cluster manager, wherein the second cluster manager is associated with a standby role. Further, the method includes detecting, at the second cluster manager, a loss of heartbeat response messages from the first cluster manager. Also, the method includes receiving information from a set of indexers regarding a status of the first cluster manager and in response to a determination that the status of the first cluster manager is offline, promoting the second cluster manager to switch over to the active role.


