What is Keepalived ?

Keepalived is a routing software written in C. 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 VRRP protocol. 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. Keepalived frameworks can be used independently or all together to provide resilient infrastructures.

Keepalived is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.


Keepalived main website doesn't offer package for any Linux distribution, it only provides source code and code repository. Most of Linux distribution are offering Keepalived package as a mainline package and package maintainers are making a great job maintaining and reporting issues about it.
Download Github


[October 21, 2018] This short note to encourage every package mainteners to update keepalived distro package. Most of current version shipped with major distro are stuck to 1.3.X release. Keepalived code present in git master branch must be considered as stable and futur proof. We do not backport bugfixes and extensions to previous release, dev circle is an allways forward release process. So you are strongly encouraged to upgrade to last 2.X release which provides extensive work, extensions and bugfixes.
[May 26, 2018] Dear Keepalived Users and companies using it. Keepalived Core-Team has just released MAJOR release with version code 2.0.0. This Release is the fruit of around 2years of hard work and we would appreciate your feedback and broadcast this announce all over. This release enhance lots of software components targetting high performances. Thanks for your attention & support.
-- Alexandre