CINXE.COM
Keepalived for Linux
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Keepalived for Linux</title> <link rel="stylesheet" type="text/css" href="style.css" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="pragma" content="no-cache" /> <meta name="keywords" content="Linux, Linux Cluster, Load balancing, Load sharing, Scalability, High availability,Job Scheduling, LVS, VRRP, IP takeover, failover, fallback, HA, Cloud Computing, BFD"/> <meta name="description" content="Keepalived provides robust High-Availability and Load Balancing features for Linux critical infrastructures"/> <link rel="StyleSheet" href="style.css" type="text/css"> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-33923503-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body> <div id="page"> <div id="header"> </div> <div id="menulinks"> <a class="active" href="#"><span>Home</span></a> <div class="menulines"></div> <a href="download.html"><span>Download</span></a> <div class="menulines"></div> <a href="manpage.html"><span>Documentation</span></a> <div class="menulines"></div> <a href="release-notes/"><span>Release Notes</span></a> <div class="menulines"></div> <a href="listes.html"><span>List & Archives</span></a> <div class="menulines"></div> <a href="sponsors.html"><span>Sponsors</span></a> </div> <div id="mainarea"> <div id="contentarea"> <h1>What is Keepalived ?</h1> <div class="content"> 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 <a href="http://www.linux-vs.org">Linux Virtual Server (IPVS)</a> 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 <a href="http://datatracker.ietf.org/wg/vrrp/">VRRP</a> 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. In order to offer fastest network failure detection, Keepalived implements <a href="http://datatracker.ietf.org/wg/bfd/">BFD</a> protocol. VRRP state transition can take into account BFD hint to drive fast state transition. Keepalived frameworks can be used independently or all together to provide resilient infrastructures.<br/> <br/> 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. </div> <h2>RESOURCES</h2> <div class="content"> 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.</br> <table width="100%" border="0" align="center"> <tr> <td><a href="software/keepalived-2.3.3.tar.gz"><img src="images/download.png" alt="Download" align="left"></a></td> <td><a href="https://github.com/acassen/keepalived"><img src="images/github.png" alt="Github" align="right"></a></td> </tr> <tr> <td> <a href="https://twitter.com/keepalived"> <img alt="twitter" src="images/twitter.png" height="42" width="42"> </a> </td> <td> <a href="https://github.com/sponsors/acassen"> <img alt="keepalived" src="https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86" /> </a> <a href="https://snapcraft.io/keepalived"> <img alt="keepalived" src="https://snapcraft.io/keepalived/badge.svg" /> </a> <a href="https://scan.coverity.com/projects/acassen-keepalived"> <img alt="Coverity Scan Build Status" src="https://scan.coverity.com/projects/22678/badge.svg"/></a> <a href="https://github.com/acassen/keepalived/actions/workflows/build.yml"> <img alt="GitHub Actions" src="https://github.com/acassen/keepalived/actions/workflows/build.yml/badge.svg"/></a> </td> </tr> </table> </div> <h2>HOT TOPICS !</h2> <div class="content"> <table width="100%" border="0" align="center"> <tr> <td width="50%"><div class="content" align="left">[<em>June 13, 2020</em>] Keepalived version 2.1.0 is out. There is lot of improvements and hardwork revisiting the whole code to make it even stronger. This release target carrier-grade quality and requirements. We also changed the release process to replace previous one by <a href="release-notes/"> Release Notes</a>. </td> </tr> <tr> <td width="50%"><div class="content" align="left">[<em>January 22, 2020</em>] Keepalived version 2.0.20 is out ! We are happy to announce it to be really really STABLE after strong debugging iterations done during last year. We are now going to push some new features and extensions. </td> </tr> <tr> <td width="50%"><div class="content" align="left">[<em>July 26, 2019</em>] Honored to be referenced by <a href="https://www.oit.va.gov/Services/TRM/ToolPage.aspx?tid=11251">VA Technical Reference Model of U.S. Dept of Veterans Affairs</a>. </td> </tr> <tr> <td width="50%"><div class="content" align="left">[<em>May 26, 2019</em>] Created <a href="https://twitter.com/keepalived">Keepalived Twitter Account</a>. Will publish release announces and updates. </td> </tr> <tr> <td width="50%"><div class="content" align="left">[<em>May 24, 2019</em>] Created <a href="https://groups.io/g/keepalived-users">Keepalived Users Group</a> at Groups.io. This group will replace old SourceForge Keepalived mailing list (keepalived-devel and keepalived-announce). Unfortunately I cant relocate current membership to new Group since SF removed this feature. </td> </tr> <tr> <td width="50%"><div class="content" align="left">[<em>May 16, 2019</em>] Design a new LOGO for Keepalived. You can access LOGO <a href="logo.html"> here</a> or in the download section.</td> </tr> <tr> <td width="50%"><div class="content" align="left">[<em>October 21, 2018</em>] 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.</td> </tr> <tr> <td width="50%"><div class="content" align="left">[<em>May 26, 2018</em>] 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.</br>-- <em>Alexandre</em></div> </td> </tr> </table> </div> </div> <div id="sidebar"> <div class="sidebarheader">Release Updates</div> <div class="content"> <div class="newsdate">2025-03-30 | Release 2.3.3</div> This release brings improvements and fix some issues reported. This Realease extends and adds some security provisions for VRRP code. We would like to thank exchange and constructive work done with : <b>Orange Cyberdefense in Lyon/France</b>. Refer to <a href="release-notes/Release-2.3.3.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2024-11-03 | Release 2.3.2</div> This release brings improvements and fix some issues reported. Refer to <a href="release-notes/Release-2.3.2.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2024-05-24 | Release 2.3.1</div> Minutes release to fix minor regression. Refer to <a href="release-notes/Release-2.3.1.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2024-05-21 | Release 2.3.0</div> This release brings improvements and fix some minor issues reported. Refer to <a href="release-notes/Release-2.3.0.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2023-05-31 | Release 2.2.8</div> This release brings improvements and fix some minor issues reported. It add some new VRRP and BFD features as well. Refer to <a href="release-notes/Release-2.2.8.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2022-01-16 | Release 2.2.7</div> This release brings lots of improvements and fix some minor issues reported. It add some new VRRP features as well. Stability has been even more extended. Refer to <a href="release-notes/Release-2.2.7.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2021-08-21 | Release 2.2.4</div> This release fix some minor build issues brought by last release. All coverity open issues are fixed. Refer to <a href="release-notes/Release-2.2.4.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2021-08-14 | Release 2.2.3</div> This release add some new features and fix some minor bugs. genhash utility is now part of the mainline daemon. Refer to <a href="release-notes/Release-2.2.3.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2021-03-05 | Release 2.2.2</div> This release fix some minor systemd integration issues. Its drops old kernel related support. Refer to <a href="release-notes/Release-2.2.2.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2021-01-17 | Release 2.2.1</div> This release fix some minor regressions brought by last release. Refer to <a href="release-notes/Release-2.2.1.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2021-01-09 | Release 2.2.0</div> This release bring a bunch of new features and extensions. This release targetted corner cases and resilient handling. This release is a major milestone for us ! please consider upgrading, this is the fruit of hard stabilization and non-regression effort. Refer to <a href="release-notes/Release-2.2.0.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2020-07-13 | Release 2.1.5</div> This is a minute fix release, fixing regression on include directive. Refer to <a href="release-notes/Release-2.1.5.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2020-07-10 | Release 2.1.4</div> This release extend some documentation elements. Some fix for the building process. DNS_CHECK fix and extensions. Properly handle ipvs_sync_daemon. Refer to <a href="release-notes/Release-2.1.4.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2020-06-23 | Release 2.1.3</div> This release fix 2 uninitialized list which can lead to a SEGV when using track_process or track_bfd. There are some minor fixes, IPVS configurations improvements and some cosmetics. Refer to <a href="release-notes/Release-2.1.3.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2020-06-14 | Release 2.1.2</div> This is a minute fix release. Refer to <a href="release-notes/Release-2.1.2.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2020-06-13 | Release 2.1.0</div> Lot of efforts have been put all together to make this new release even more robust. Refer to <a href="release-notes/Release-2.1.0.html">Release Notes</a> for more infos. <br/><br/> <div class="newsdate">2020-01-22 | Release 2.0.20</div> Fix track process and track script features. Some BFD extensions and cleanup. Reworked debug configuration. Snap updates. Docker updates. Add support to set pref lft for static and virtual IPv6 addresses. Refer to <a href="changelog.html">ChangeLog</a> for more infos. <br/><br/> <table width="100%" border="0" align="center"> <tr> <td align="right"><a href="morenews.html">more news</a></td> </tr> </table> </div></div> <div id="footer"> <div id="footerleft">Copyright (C) 2000-2025 Alexandre Cassen. All rights reserved.</div> <div id="footerright"><a href="mailto:acassen@gmail.com">Contact</a></div> </div> </div> </body> </html>