Linux High-availability open source Solution keepalived VS Heartbeat Comparison

Source: Internet
Author: User

1)keepalived use more simple : From the installation, configuration, use, maintenance and other aspects of the comparison, keepalived is much simpler than heartbeat, especially Heartbeat2.1.4 split into 3 sub-projects, installation, configuration, Use is more complex, especially when the problem, do not know which subsystem is the problem, and keepalived only 1 installation files, a configuration file, configuration file is also much simpler;

2)heartbeat function more powerful : heartbeat Although complex, but more powerful, supporting tools more complete, suitable for large-scale cluster management, and keepalived mainly used for cluster switching, basically no management function;

3) The agreement is different : keepalived use VRRP protocol for communication and election, heartbeat use heartbeat for communication and election; Heartbeat in addition to the network, but also through the serial communication, seemingly more reliable;

4) use basically similar : If you want to design a high-availability scheme based on both, and ultimately to write customized scripts according to business needs, keepalived script without any constraints, any way to write it, heartbeat script is constrained, that is, to support service Start/stop/restart this way, and Heartbeart provides a lot of default scripts, simple binding IP, start Apache and other operations have been;

Usage advice: priority to use keepalived, when keepalived is not enough to choose heartbeat

Keepalived uses the VRRP protocol mode, virtual Routing Redundancy Protocol (Vsan Router Redundancy Protocol, abbreviated as VRRP);
Heartbeat is a highly available way to host or network-based services;
The purpose of the keepalived is to simulate the router's dual-machine
The purpose of heartbeat is to double-machine the user Service
High availability of LVS recommended with keepavlived
High-availability heartbeat for business

Linux High-availability open source Solution keepalived VS Heartbeat Comparison

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.