rule 发表于 2018-12-30 11:13:13

keepalived vrrp_script的一些实例配置

vrrp_script chk_sshd {  
script "killall -0 sshd"    # cheaper than pidof
  
interval 2         # check every 2 seconds
  
weight -4      # default prio: -4 if KO
  
}
  

  
vrrp_script chk_haproxy {
  
script "killall -0 haproxy"    # cheaper than pidof
  
interval 2      # check every 2 seconds
  
}
  

  
vrrp_script chk_http_port {
  
script "
页: [1]
查看完整版本: keepalived vrrp_script的一些实例配置