« Modèle:Config/Keepalived/TcpCheck » : différence entre les versions
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}}} -> {{... ») |
import>Fleon Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
{{Ed|Config/Keepalived/Ftp}} | {{Ed|Config/Keepalived/Ftp}} | ||
* DNS : {{{cname|cname}}} | |||
* DNS : {{{ | |||
* VIP : {{{vip|xxx.xxx.xxx.xxx}}} | * VIP : {{{vip|xxx.xxx.xxx.xxx}}} | ||
* PORT : {{{port|port}}} | * PORT : {{{port|port}}} | ||
* BACKEND : {{{hostname_backend_1|backend_1}}} -> {{{ip_backend_1|xxx.xxx.xxx.xxx}}} / {{{hostname_backend_1|backend_1}}} -> {{{ip_backend_2|xxx.xxx.xxx.xxx}}} | * BACKEND : {{{hostname_backend_1|backend_1}}} -> {{{ip_backend_1|xxx.xxx.xxx.xxx}}} / {{{hostname_backend_1|backend_1}}} -> {{{ip_backend_2|xxx.xxx.xxx.xxx}}} | ||
<br/> | |||
{{FileBox|filename={{{host|hostname}}} ~ nano /etc/keepalived/keepalived.conf | 1= | {{FileBox|filename={{{host|hostname}}} ~ nano /etc/keepalived/keepalived.conf | 1= | ||
... | ... |
Version du 27 février 2015 à 15:38
- 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 } } }