Keepalived

Keepalived是一个用C语言编写的路由软件。该项目的主要目标是为Linux系统和基于Linux的基础架构提供简单而强大的负载均衡和高可用性设施。(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.)

Github星跟踪图

Keepalived是一个用C语言编写的路由软件。该项目的主要目标是为Linux系统和基于Linux的基础架构提供简单而强大的负载均衡和高可用性设施。负载平衡框架依赖于众所周知且广泛使用的Linux虚拟服务器(IPVS)内核模块,提供Layer4负载均衡。

Keepalived实现了一组检查程序,以根据其运行状况动态地和自适应地维护和管理负载均衡的服务器池。另一方面,VRRP协议实现了高可用性。 VRRP是路由器故障转移的基础。此外,Keepalived为VRRP有限状态机实现了一组挂钩,提供低级和高速协议交互。 Keepalived框架可以单独使用,也可以一起使用,以提供灵活的基础架构。

Keepalived是免费软件;您可以根据自由软件基金会发布的GNU通用公共许可证的条款重新分发和/或修改它;许可证的第2版,或(根据您的选择)任何更高版本。

主要指标

概览
名称与所有者acassen/keepalived
主编程语言C
编程语言C (语言数: 6)
平台Docker, Linux
许可证GNU General Public License v2.0
所有者活动
创建于2012-07-11 12:42:41
推送于2025-04-04 14:51:36
最后一次提交2025-04-04 15:51:36
发布数133
最新版本名称v2.3.3 (发布于 )
第一版名称v0.2.1 (发布于 2009-09-28 10:58:52)
用户参与
星数4.2k
关注者数147
派生数745
提交数6.6k
已启用问题?
问题数1176
打开的问题数26
拉请求数1238
打开的拉请求数5
关闭的拉请求数166
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?

keepalived: Loadbalancing & High-Availability

Build Status keepalived

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.

OPENSSL TOOLKIT LICENCE EXCEPTION

In addition, as the copyright holder of Keepalived,
I, Alexandre Cassen, acassen@linux-vs.org,
grant the following special exception:

I, Alexandre Cassen, <acassen@linux-vs.org>, explicitly allow
the compilation and distribution of the Keepalived software with
the OpenSSL Toolkit.