定义通知脚本:notify_master <STRING>|<QUOTED-STRING>:当前节点成为主节点时触发的脚本notify_backup <STRING>|<QUOTED-STRING>:当前节点转为备节点时触发的脚本notify_fault <STRING>|<QUOTED-STRING>:当前节点转为“失败”状
1、确保确保iptables及selinux不会成为阻碍。保持集群时间同步2、在ka1上 vim /etc/keepalived/keepalived.confglobal_defs { notification_email { root
1、配置selinux ,iptables ,同步时间各节点时间必须同步: ntpdate TIME_SERVER_IP (如果没有ntpdate,安装ntp包,或者直接安装ntpdate包) &nb
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号