! Configuration File for keepalived global_defs { notification_email { acassen@firewall.loc failover@firewall.loc sysadmin@firewall.loc } notification_email_from Alexandre.Cassen@firewall.loc smtp_server 192.168.200.1 smtp_connect_timeout 30 router_id LVS_DEVEL vrrp_skip_check_adv_addr vrrp_strict vrrp_garp_interval 0 vrrp_gna_interval 0 } vrrp_instance VI_1 { state MASTER # interface ens33 # virtual_router_id 51 priority 100 advert_int 1 authentication { auth_type PASS auth_pass 1111 } virtual_ipaddress { 192.168.200.1 # } } virtual_server 192.168.200.1 9090 { # delay_loop 6 lb_algo rr lb_kind DR # nat_mask 255.255.255.0 persistence_timeout 0 protocol TCP real_server 192.168.100.11 9090 { weight 1 connect_timeout 3 connect_port 9090 nb_get_retry 3 delay_before_retry 3 } real_server 192.168.100.14 9090 { weight 1 connect_timeout 3 connect_port 9090 nb_get_retry 3 delay_before_retry 3 } }