Pacemaker实现的四种功能:
- Cluster Management
- Lock Management
- Fencing
- Cluster Configuration Management
Pacemaker 基础结构组成:
A cluster configured with Pacemaker comprises separate component daemons that monitor cluster membership, scripts that manage the services, and resource management subsystems that monitor the disparate resources. The following components form the Pacemaker architecture:
用Pacemaker配置的群集包括监视群集成员身份的单独的组件守护程序,管理服务的脚本以及监视不同资源的资源管理子系统。 以下组件构成了Pacemaker架构:
- Cluster Information Base (CIB)
Pacemaker信息守护进程,使用XML格式内部同步来自DC(Designated Coordinator指定的协调员)的当时状态和配置信息,到所有的其它节点。
- Cluster Resource Management Daemon (CRMd)
Pacemaker群集资源操作通过此守护进程路由,每个节点上也都存在一个LRMd的进程,作来CRMd和资源代理之间信息的传递。
- Shoot the Other Node in the Head (STONITH)
在PaceMaker中充当群集资源,用于处理隔离请求,强制关闭Node电源并从群集中删除,以确保数据完整性。STONITH是在CIB中配置,可以做为常规群集资源进行监控。
- Corosync
系统中有一个和Corosync同名的进程,它用于群集的Member之间的通讯需求,以及成员的资格确认,高可用附加组件需要它。此外还管理仲裁.