# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Configuration Keepalived: FailOver # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ global_defs { notification_email { mail.a.prevenir@domaine.fr } notification_email_from proxy2@domaine.fr smtp_server xxx.xxx.xxx.xxx smtp_connect_timeout 30 } # instance VRRP pour smtp vrrp_instance VI1 { interface ens192 state SLAVE virtual_router_id 11 priority 100 # 101 on master, 100 on backup virtual_ipaddress { 192.168.1.4/24 brd 192.168.1.255 dev ens192 label ens192:0 } smtp_alert authentication { auth_type PASS auth_pass mdp8char } }