keepavlied一些参数

priority                      表示优先级
virtual_ipaddress      虚拟的IP地址(VIP)
delay_loop                每个2秒检查一次real_server状态
notify_down              检测到服务down后执行的脚本 
connect_timeout      连接超时时间
nb_get_retry             重连次数
delay_before_retry   重连间隔时间
connect_port            健康检查端口

notify_master /path/to/to_master.sh:表示当切换到master状态时,要执行的脚本

notify_backup /path_to/to_backup.sh:表示当切换到backup状态时,要执行的脚本

原文地址:https://www.cnblogs.com/zhaoyangjian724/p/6199579.html