# acassen/keepalived

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/acassen-keepalived).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

4,587 stars · 772 forks · C · GPL-2.0

## Links

- GitHub: https://github.com/acassen/keepalived
- Homepage: https://www.keepalived.org
- awesome-repositories: https://awesome-repositories.com/repository/acassen-keepalived.md

## Topics

`bfd` `c` `daemon` `high-availability` `infrastructure` `infrastructures` `ipvs` `keepalived` `linux` `lvs` `multiplexer` `netlink` `protocol` `snmp` `vrrp`

## Description

Keepalived is a high availability manager and virtual IP failover tool that ensures continuous service availability. It coordinates the migration of floating IP addresses between master and backup nodes using the Virtual Router Redundancy Protocol to manage router redundancy and seamless failover.

The project distinguishes itself by integrating with the Linux kernel IPVS module to function as a transport-layer load balancer. It distributes network traffic across backend servers using various scheduling algorithms and forwarding methods such as NAT, direct routing, or tunneling.

The system includes network health monitoring capabilities using TCP, HTTP, and the Bidirectional Forwarding Detection protocol to identify failures in milliseconds. It further supports automated failover orchestration through the execution of custom scripts, SMTP administrative alerts, and the synchronization of routing paths across multiple instances.

The software provides a configuration surface that supports templatization, network namespace isolation, and the export of system metrics via SNMP.

## Tags

### DevOps & Infrastructure

- [High Availability Services](https://awesome-repositories.com/f/devops-infrastructure/high-availability-services.md) — Coordinates virtual IP addresses and failover between nodes using the VRRP protocol to ensure continuous service availability. ([source](https://www.keepalived.org/documentation/user-guide/case-study-mixing/))
- [Protocol Failover High Availability](https://awesome-repositories.com/f/devops-infrastructure/high-availability-deployments/protocol-failover-high-availability.md) — Identifies link and peer failures in milliseconds using the BFD protocol to trigger rapid failover transitions. ([source](https://cdn.jsdelivr.net/gh/acassen/keepalived@master/README.md))
- [Automated Master Failovers](https://awesome-repositories.com/f/devops-infrastructure/remote-cluster-access/cluster-failover-managers/automated-master-failovers.md) — Coordinates virtual IP addresses across nodes using an election process to ensure backup takeover when a master fails. ([source](https://www.keepalived.org/documentation/user-guide/configuration-synopsis/))
- [Virtual IP Failovers](https://awesome-repositories.com/f/devops-infrastructure/virtual-ip-failovers.md) — Transitions virtual IP addresses between master and backup nodes based on priority and health states. ([source](https://www.keepalived.org/documentation/user-guide/case-study-failover/))
- [Round-Robin Load Balancings](https://awesome-repositories.com/f/devops-infrastructure/worker-process-management/round-robin-load-balancings.md) — Implements Round Robin and Weighted Least Connection algorithms to distribute requests across real servers via NAT. ([source](https://cdn.jsdelivr.net/gh/acassen/keepalived@master/README.md))

### Networking & Communication

- [High Availability Networking](https://awesome-repositories.com/f/networking-communication/high-availability-networking.md) — Ensures continuous service by automatically migrating virtual IP addresses between master and backup nodes using the VRRP protocol.
- [Gratuitous ARP Broadcasting](https://awesome-repositories.com/f/networking-communication/arp-and-ndp-responders/gratuitous-arp-broadcasting.md) — Sends unsolicited ARP updates to notify network switches of virtual IP migrations during master-to-backup transitions.
- [Bidirectional Forwarding Detection](https://awesome-repositories.com/f/networking-communication/bidirectional-forwarding-detection.md) — Uses the BFD protocol to provide fast bidirectional forwarding detection for instance tracking and server monitoring. ([source](https://www.keepalived.org/documentation/user-guide/software-design/))
- [Floating IP Management](https://awesome-repositories.com/f/networking-communication/floating-ip-management.md) — Assigns a virtual IP address to a group of nodes and migrates it to a backup if the primary fails. ([source](https://www.keepalived.org/documentation/user-guide/quick-start/))
- [High Availability Routing](https://awesome-repositories.com/f/networking-communication/high-availability-routing.md) — Maintains consistent routing paths for IPv4 and IPv6 using a virtual router protocol to provide failover. ([source](https://cdn.jsdelivr.net/gh/acassen/keepalived@master/README.md))
- [IPVS Load Balancers](https://awesome-repositories.com/f/networking-communication/ipvs-load-balancers.md) — Interfaces with the Linux kernel IPVS module to balance network traffic across backend servers.
- [Load Balancers](https://awesome-repositories.com/f/networking-communication/load-balancers.md) — Distributes network traffic across multiple backend servers using the Linux kernel IPVS module for high performance scaling.
- [Load Balancing](https://awesome-repositories.com/f/networking-communication/load-balancing.md) — Distributes network traffic across multiple backend servers using various scheduling algorithms via a kernel module. ([source](https://www.keepalived.org/documentation/user-guide/))
- [Network Routing and Traffic Management](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-routing-traffic-management.md) — Routes incoming requests to backend servers using NAT, IP tunneling, or direct routing to balance load. ([source](https://www.keepalived.org/documentation/user-guide/introduction/))
- [Virtual IP Failover Systems](https://awesome-repositories.com/f/networking-communication/network-reliability-diagnostics/network-reliability/virtual-ip-failover-systems.md) — Creates floating IP addresses that migrate between master and backup nodes to ensure continuous service availability.
- [Service Instance IP Failovers](https://awesome-repositories.com/f/networking-communication/network-reliability-diagnostics/network-reliability/virtual-ip-failover-systems/service-instance-ip-failovers.md) — Provides virtual IP failover mechanisms to redirect requests to backup nodes when a master router becomes unavailable. ([source](https://www.keepalived.org/documentation/user-guide/introduction/))
- [Router State Synchronization](https://awesome-repositories.com/f/networking-communication/router-state-synchronization.md) — Groups multiple instances together to maintain consistent states and routing paths during a protocol takeover. ([source](https://www.keepalived.org/documentation/user-guide/software-design/))
- [Traffic Distribution](https://awesome-repositories.com/f/networking-communication/traffic-shaping/scaling/traffic-distribution.md) — Balances network traffic using IPVS forwarding methods including NAT, Direct Routing, and Tunneling. ([source](https://www.keepalived.org/documentation/keepalived-conf/))
- [Virtual Router Redundancy Management](https://awesome-repositories.com/f/networking-communication/virtual-router-redundancy-management.md) — Coordinates virtual router instances to provide seamless failover and maintain consistent routing paths across a network cluster.
- [VRRP Coordination](https://awesome-repositories.com/f/networking-communication/vrrp-coordination.md) — Coordinates high availability across network interfaces using the VRRP protocol to ensure seamless failover. ([source](https://www.keepalived.org/documentation/keepalived-conf/))
- [VRRP Management Tools](https://awesome-repositories.com/f/networking-communication/vrrp-management-tools.md) — Manages virtual IP addresses and failover between nodes using the Virtual Router Redundancy Protocol.
- [VRRP State Coordination](https://awesome-repositories.com/f/networking-communication/vrrp-state-coordination.md) — Coordinates virtual IP ownership between nodes using a priority-based election and heartbeat mechanism for seamless failover.
- [Connection State Synchronization](https://awesome-repositories.com/f/networking-communication/connection-state-synchronization.md) — Binds a daemon to a network interface to keep connection states consistent across different nodes. ([source](https://www.keepalived.org/documentation/user-guide/configuration-synopsis/))
- [Kernel IPVS Interfaces](https://awesome-repositories.com/f/networking-communication/kernel-ipvs-interfaces.md) — Translates internal configuration into Linux kernel IPVS rules for high-performance transport-layer load balancing. ([source](https://www.keepalived.org/documentation/user-guide/software-design/))
- [Network Routing Rules](https://awesome-repositories.com/f/networking-communication/network-routing-rules.md) — Sets up static IP addresses and routing rules that persist independently of failover state transitions. ([source](https://www.keepalived.org/documentation/keepalived-conf/))
- [Network Session Persistence](https://awesome-repositories.com/f/networking-communication/network-session-persistence.md) — Tracks network connections using the kernel firewall to ensure client requests consistently reach the same backend server.
- [Weighted Route Failovers](https://awesome-repositories.com/f/networking-communication/network-traffic-routing/weighted-route-failovers.md) — Directs all traffic to the available server with the highest weight to provide a backup mechanism. ([source](https://www.keepalived.org/documentation/user-guide/scheduling-algorithms/))
- [Protocol Instance Synchronizations](https://awesome-repositories.com/f/networking-communication/protocol-instance-synchronizations.md) — Groups multiple virtual router instances to ensure they fail over as a single unit and maintain consistent routing paths. ([source](https://www.keepalived.org/documentation/keepalived-conf/))
- [Routing Path Synchronization](https://awesome-repositories.com/f/networking-communication/routing-path-synchronization.md) — Groups multiple virtual router instances to fail over as a single unit and maintain consistent routing. ([source](https://www.keepalived.org/documentation/user-guide/case-study-failover/))
- [Destination-Based Routing](https://awesome-repositories.com/f/networking-communication/traffic-routing/protocol-based-routing-rules/destination-based-routing.md) — Directs packets to servers based on the destination IP address with options for locality-based overrides. ([source](https://www.keepalived.org/documentation/user-guide/scheduling-algorithms/))
- [Macvlan Virtual Network Creation](https://awesome-repositories.com/f/networking-communication/virtual-network-interfaces/macvlan-virtual-network-creation.md) — Creates virtual network interfaces with unique MAC addresses to reduce the impact of router takeovers on upstream hardware.

### Operating Systems & Systems Programming

- [IPVS Interface Mapping](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-core-internals/ebpf-tooling/kernel-interfaces/ipvs-interface-mapping.md) — Translates user-space configuration into Linux kernel IP Virtual Server rules for high-performance transport-layer load balancing.

### System Administration & Monitoring

- [Network Service Health Monitors](https://awesome-repositories.com/f/system-administration-monitoring/health-monitoring/instance-health-monitors/microservices-health-monitoring/master-node-health-monitors/network-service-health-monitors.md) — Detects server or link failures via TCP, HTTP, or BFD to trigger automatic failover and remove unhealthy nodes.
- [Upstream Health Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/health-monitoring/instance-health-monitors/microservices-health-monitoring/upstream-health-monitoring.md) — Monitors the availability and status of backend servers via TCP, HTTP, and other protocols to manage the load balancing pool. ([source](https://www.keepalived.org/documentation/user-guide/configuration-synopsis/))
- [Network Health Monitors](https://awesome-repositories.com/f/system-administration-monitoring/network-health-monitors.md) — Uses TCP, HTTP, and custom scripts to detect service failures and trigger failover transitions.
- [Polling-Based Health Monitors](https://awesome-repositories.com/f/system-administration-monitoring/polling-based-health-monitors.md) — Regularly probes backend servers using various network protocols to dynamically update the active routing pool.
- [Server Health Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/server-health-monitoring.md) — Detects server failures through health checks to remove unhealthy nodes from the active traffic pool. ([source](https://cdn.jsdelivr.net/gh/acassen/keepalived@master/README.md))
- [Service Health Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/service-health-monitoring.md) — Executes backend service health checks to detect failures and ensure traffic is only routed to healthy nodes. ([source](https://www.keepalived.org/documentation/user-guide/))
- [Event-Driven Notification Triggers](https://awesome-repositories.com/f/system-administration-monitoring/alert-notification-systems/event-driven-notification-triggers.md) — Triggers external scripts or SMTP alerts immediately in response to real-time system events and state changes. ([source](https://www.keepalived.org/documentation/user-guide/configuration-synopsis/))
- [Virtual MAC Mapping](https://awesome-repositories.com/f/system-administration-monitoring/neighbor-cache-managers/virtual-mac-mapping.md) — Creates macvlan interfaces to provide virtual MAC addresses and reduce the impact of router takeovers. ([source](https://www.keepalived.org/documentation/user-guide/software-design/))
- [System Health Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/observability-instrumentation/system-health-monitoring.md) — Tracks network interfaces, processes, and BFD sessions to trigger priority adjustments or failover states. ([source](https://www.keepalived.org/documentation/keepalived-conf/))
- [Event-Triggered Scripts](https://awesome-repositories.com/f/system-administration-monitoring/task-automation-scripts/event-triggered-scripts.md) — Executes external scripts triggered by state transitions or health check failures to automate system recovery.

### Data & Databases

- [Hash-Based Session Affinity](https://awesome-repositories.com/f/data-databases/database-transaction-management/connection-pinning/hash-based-session-affinity.md) — Assigns connections to specific servers using source or destination IP hashing to ensure session persistence. ([source](https://www.keepalived.org/documentation/user-guide/scheduling-algorithms/))

### Development Tools & Productivity

- [Remediation Script Execution](https://awesome-repositories.com/f/development-tools-productivity/shell-script-execution-engines/custom-run-scripts/scheduled-script-executions/remediation-script-execution.md) — Executes corrective scripts automatically when system health checks fail to trigger recovery actions. ([source](https://www.keepalived.org/documentation/keepalived-conf/))
