Modèle:Config/Keepalived/TcpCheck
Révision datée du 2 mars 2015 à 13:13 par import>Fleon
- DNS : cname
- VIP : xxx.xxx.xxx.xxx
- PORT : port
- BACKEND : backend_1 -> xxx.xxx.xxx.xxx / backend_2 -> xxx.xxx.xxx.xxx
... #################################################### ## Description du service porté par le load balancer virtual_server xxx.xxx.xxx.xxx port { delay_loop 6 lb_algo rr lb_kind DR protocol TCP persistence_timeout 0 real_server xxx.xxx.xxx.xxx port { weight 1 TCP_CHECK { connect_port port connect_timeout 5 nb_get_retry 5 delay_before_retry 2 } } real_server xxx.xxx.xxx.xxx port { weight 1 TCP_CHECK { connect_port port connect_timeout 5 nb_get_retry 5 delay_before_retry 2 } } }