Modèle:Config/Keepalived/TcpCheck
Révision datée du 27 février 2015 à 15:37 par import>Fleon (Page créée avec « {{Ed|Config/Keepalived/Ftp}} <br/> * DNS : {{{dns|cname}}} * VIP : {{{vip|xxx.xxx.xxx.xxx}}} * PORT : {{{port|port}}} * BACKEND : {{{hostname_backend_1|backend_1}}} -> {{... »)
- DNS : cname
- VIP : xxx.xxx.xxx.xxx
- PORT : port
- BACKEND : backend_1 -> xxx.xxx.xxx.xxx / backend_1 -> 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 600 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 } } }