Skip to content


Switch branches/tags

Latest commit


Failed to load latest commit information.
Latest commit message
Commit time
Oct 1, 2009
Sep 28, 2009

keepalived: Loadbalancing & High-Availability

Keepalived CI Coverity Status Language grade: C/C++ Total alerts keepalived Twitter Follow

The main goal of this project is to provide simple and robust facilities for loadbalancing and high-availability to Linux system and Linux based infrastructures. Loadbalancing framework relies on well-known and widely used Linux Virtual Server (IPVS) kernel module providing Layer4 loadbalancing. Keepalived implements a set of checkers to dynamically and adaptively maintain and manage loadbalanced server pool according their health. On the other hand high-availability is achieved by the Virtual Router Redundancy Protocol (VRRP). VRRP is a fundamental brick for router failover. In addition, Keepalived implements a set of hooks to the VRRP finite state machine providing low-level and high-speed protocol interactions. In order to offer fastest network failure detection, Keepalived implements the Bidirectional Forwarding Detection (BFD) protocol. VRRP state transition can take into account BFD hints to drive fast state transition. Keepalived frameworks can be used independently or all together to provide resilient infrastructures.

Keepalived implementation is based on an I/O multiplexer to handle a strong multi-threading framework. All the events process use this I/O multiplexer.

To build keepalived from the git source tree, you will need to have autoconf, automake and various libraries installed. See the INSTALL file for details of what needs to be installed and what needs to be executed before building keepalived.

Keepalived is free software, Copyright (C) Alexandre Cassen. See the file COPYING for copying conditions.


In addition, as the copyright holder of Keepalived, I, Alexandre Cassen,, grant the following special exception:

I, Alexandre Cassen, <>, explicitly allow
the compilation and distribution of the Keepalived software with
the OpenSSL Toolkit.