luck___star's blog

keepalive+lvs 过一段时间无法正常负载

主网关配置:

[root@localhost ~]# cat /etc/keepalived/keepalived.conf
#指定keepalived在发生切换时需要发送email到的对象,一行一个
global_defs {
notification_email {
acassen@firewall.loc
}
#指定发件人
notification_email_from Alexandre.Cassen@firewall.loc
#指定smtp服务器地址
smtp_server 127.0.0.1
#指定smtp连接超时时间
smtp_connect_timeout 30
router_id LVS_DEVEL #运行keepalived机器的一个标识
}

Subscribe to RSS - luck___star's blog
randomness