这里的weight配置将覆盖vrrp_script中weight的配置.vrrp_instance<STRING>{#VRRP instance declaration track_script {#Scripts state we monitor lt;STRING>lt;STRING>weight<INTEGER:254.254>} ...
Aug 25 15:21:35 192_168_173_203 Keepalived_vrrp[25766]:VRRP_Script(zero)succeeded Aug 25 15:21:35 192_168_173_203 Keepalived_vrrp[25766]:VRRP_Script(pos)succeeded 优先级99+3=102 Aug 25 15:21:39 192_...
Aug 20 16:32:43 192_168_173_204 Keepalived_vrrp[5923]:VRRP_Script(zero)succeeded Aug 20 16:32:43 192_168_173_204 Keepalived_vrrp[5923]:VRRP_Script(nag)succeeded Aug 20 16:32:44 192_168_173_204 ...
vrrp_script chk_haproxy { script"killall-0 haproxy"#verify the pid existance interval 2#check every 2 seconds weight 2#add 2 points of prio if OK } vrrp_instance VI_1 { interface eth0#interface to ...
May 15 15:45:20 inode2 Keepalived_vrrp[20974]:VRRP_Script(chk_nginx)succeeded May 15 15:45:21 inode2 Keepalived_vrrp[20974]:VRRP_Instance(myr)Transition to MASTER STATE May 15 15:45:22 inode2 ...