config global_defs # option alt_config_file "/etc/keepalived/keepalived.conf" # list notification_email "acassen@firewall.loc" # list notification_email "failover@firewall.loc" # list notification_email "sysadmin@firewall.loc" # option notification_email_from "Alexandre.Cassen@firewall.loc" # option smtp_server "192.168.200.1" # option smtp_connect_timeout "30" # option router_id "LVS_DEVEL" # option vrrp_mcast_group4 "224.0.0.18" # optional, default 224.0.0.18 # option vrrp_mcast_group6 "f02::12" # optional, default ff02::12 # option linkbeat_use_polling "1" #config ipaddress # option name "ipaddress0" # option address "192.168.1.1/24" # option device "eth0" # option scope "global" #config ipaddress # option name "ipaddress1" # option address "192.168.1.2/24" # option device "eth1" # option scope "global" #config ipaddress # option name "ipaddress2" # option address "192.168.1.1/24" # option device "eth0" # option scope "link" #config ipaddress # option name "ipaddress3" # option address "192.168.1.2/24" # option device "eth2" # option scope "site" #config ipaddress # option name "ipaddress4" # option address "192.168.1.1/24" # option device "eth0" # option scope "host" #config ipaddress # option name "ipaddress5" # option address "192.168.1.2/24" # option device "eth0" # option scope "nowhere" #config route # option name "route0" # option address "192.168.1.1/24" # option gateway "192.168.0.1" # option device "eth0" #config route # option name "route1" # option address "192.168.2.1/24" # option gateway "192.168.0.1" # option device "eth0" #config route # option name "route2" # option address "127.0.0.1" # option blackhole "1" #config static_ipaddress # list address "ipaddress0" # list address "ipaddress1" #config static_routes # list route "route0" # list route "route1" #config vrrp_sync_group # option name "VI_sync_group_1" # list group "VI_1" # list group "VI_2" # option smtp_alert "1" # option notify_backup "" # option notify_master "" # option notify_fault "" # option notify "" # option global_tracking 1 #config track_interface # option name "track_intf1" # option value "eth0" # option weight "1" #config track_interface # option name "track_intf2" # option value "eth1" # option weight "2" #config track_script # option name "track_script1" # option value "" # option weight "1" #config track_script # option name "track_script2" # option value "" # option weight "2" #config vrrp_instance # option name "VI_1" # option use_vmac "eth0" # option native_ipv6 "1" # option state "MASTER" # option interface "eth0" # list track_interface "track_intf1" # list track_interface "track_intf2" # list track_script "track_script1" # list track_script "track_script2" # option dont_track_primary "1" # list unicast_peer "192.168.0.1" # list unicast_peer "192.168.1.1" # list virtual_ipaddress "ipaddress2" # list virtual_ipaddress "ipaddress3" # list virtual_ipaddress_excluded "ipaddress4" # list virtual_ipaddress_excluded "ipaddress5" # list virtual_routes "route1" # list virtual_routes "route2" # option mcast_src_ip "224.0.0.1" # option unicast_src_ip "192.168.0.1" # option virtual_router_id "128" # option priority "128" # option advert_int "5" # option nopreempt "1" # option preempt_delay "500" # option debug "2" # option notify_backup "" # option notify_master "" # option notify_fault "" # option notify_stop "" # option notify "" # option smtp_alert "1" # option accept "1" #config vrrp_script # option script "" # option interval "5" # option weight "10" # option fall "2" # option rise "3" #config virtual_server # option enabled "1" # option ipaddr "192.168.200.2" # option port "80" # option fwmark "0x42" # option delay_loop "30" # valid values for lb_algo rr|wrr|lc|wlc # option lb_algo "rr" # valid values for lb_kind NAT|DR|TUN # option lb_kind "NAT" # option persistence_timeout "50" # option persistence_granularity "192.168.110.2" # option virtualhost "www.domain1.com" # valid values for protocol TCP|UDP # option protocol "TCP" # option sorry_server_ip "192.168.100.100" # option sorry_server_port "80" # list real_server "Server1" # list real_server "Server2" #config real_server # option enabled "1" # option name "Server1" # option weight "2" # option check "HTTP_GET" # only for check TCP_CHECK|HTTP_GET|SSL_GET # option connect_port "80" # option connect_timeout "3" # only for check MISC_CHECK # option misc_path "" # only for check HTTP_GET | SSL_GET # list url "url1" # list url "url2" # option nb_get_retry "3" # option delay_before_retry "2" #config real_server # option enabled "1" # option name "Server2" # option weight "2" # option check "TCP_CHECK" # option connect_port "80" # option connect_timeout "3" #config url # option name "url1" # option path "/testurl/test1.jsp" # option digest "11" #config url # option name "url2" # option path "/testurl/test2.jsp" # option digest "22"