一、keeplived进程构成
1. keepalived由三个进程构成:
负责监控子进程的父进程
负责健康检查的子进程
负责vrrp框架的子进程
二、keepalived核心组件
LVS Framework: Uses the getsockopt and setsockopt calls to get and set options on sockets.
Netfilter Framework: IPVS code that supports NAT and Masquerading.
Netlink Interface: Sets and removes VRRP virtual IPs on network interfaces.
Multicast: VRRP advertisements are sent to the reserved VRRP MULTICAST group (224.0.0.18).
keepalived更多的组件,可以去看官方文档,点击文章末尾的链接即可。
三、Atomic Elements
四、参考资料
http://www.keepalived.org/doc/software_design.html