corosync

Corosync's mission is to develop, release, and support a community defined de-facto open source cluster executive for use by multiple open source and commercial cluster projects or products.

Features

The Corosync Cluster Engine is a group communication system with additional features for implementing high availability within applications.

The project provides four C programming interfaces features:

  • A closed process group communication model with virtual synchrony guarantees for creating replicated state machines.
  • A simple availability manager that restarts the application process when it has failed.
  • A configuration and statistics in-memory database that provide the ability to set, retrieve, and receive change notifications of information.
  • A quorum system that notifies applications when quorum is achieved or lost.

The software is designed to operate on UDP/IP and InfiniBand networks natively.

Corosync provides the best of breed well supported high availability infrastructure available on nearly all Linux distributions by default.

Corosync is adopted by the reference open source availability manager Pacemaker, the leading open source AMQP implementation Qpid, the first and leading open source AIS implementation openais, and open source file systems GFS2 and OCFS2.

目前的理解为,corosync为组通信系统,另外可以在应用之间构建高可用性。

Coreosync在传递信息的时候可以通过一个简单的配置文件来定义信息传递的方式和协议等。

原文地址:https://www.cnblogs.com/zhangzhang/p/2344498.html