2 # option alt_config_file "/etc/keepalived/keepalived.conf"
3 # list notification_email "acassen@firewall.loc"
4 # list notification_email "failover@firewall.loc"
5 # list notification_email "sysadmin@firewall.loc"
6 # option notification_email_from "Alexandre.Cassen@firewall.loc"
7 # option smtp_server "192.168.200.1"
8 # option smtp_connect_timeout "30"
9 # option router_id "LVS_DEVEL"
10 # option vrrp_mcast_group4 "224.0.0.18" # optional, default 224.0.0.18
11 # option vrrp_mcast_group6 "f02::12" # optional, default ff02::12
12 # option linkbeat_use_polling "1"
15 # option name "ipaddress0"
16 # option address "192.168.1.1/24"
17 # option device "eth0"
18 # option scope "global"
21 # option name "ipaddress1"
22 # option address "192.168.1.2/24"
23 # option device "eth1"
24 # option scope "global"
27 # option name "ipaddress2"
28 # option address "192.168.1.1/24"
29 # option device "eth0"
33 # option name "ipaddress3"
34 # option address "192.168.1.2/24"
35 # option device "eth2"
39 # option name "ipaddress4"
40 # option address "192.168.1.1/24"
41 # option device "eth0"
45 # option name "ipaddress5"
46 # option address "192.168.1.2/24"
47 # option device "eth0"
48 # option scope "nowhere"
51 # option name "route0"
52 # option address "192.168.1.1/24"
53 # option gateway "192.168.0.1"
54 # option device "eth0"
57 # option name "route1"
58 # option address "192.168.2.1/24"
59 # option gateway "192.168.0.1"
60 # option device "eth0"
63 # option name "route2"
64 # option address "127.0.0.1"
65 # option blackhole "1"
67 #config static_ipaddress
68 # list address "ipaddress0"
69 # list address "ipaddress1"
75 #config vrrp_sync_group
76 # option name "VI_sync_group_1"
79 # option smtp_alert "1"
80 # option notify_backup "<switch-backup-state-script>"
81 # option notify_master "<switch-master-state-script>"
82 # option notify_fault "<switch-fault-state-script>"
83 # option notify "<switch-any-state-script>"
84 # option global_tracking 1
86 #config track_interface
87 # option name "track_intf1"
91 #config track_interface
92 # option name "track_intf2"
97 # option name "track_script1"
98 # option value "<script-file1>"
102 # option name "track_script2"
103 # option value "<script-file2>"
106 #config vrrp_instance
108 # option use_vmac "eth0"
109 # option native_ipv6 "1"
110 # option state "MASTER"
111 # option interface "eth0"
112 # list track_interface "track_intf1"
113 # list track_interface "track_intf2"
114 # list track_script "track_script1"
115 # list track_script "track_script2"
116 # option dont_track_primary "1"
117 # list unicast_peer "192.168.0.1"
118 # list unicast_peer "192.168.1.1"
119 # list virtual_ipaddress "ipaddress2"
120 # list virtual_ipaddress "ipaddress3"
121 # list virtual_ipaddress_excluded "ipaddress4"
122 # list virtual_ipaddress_excluded "ipaddress5"
123 # list virtual_routes "route1"
124 # list virtual_routes "route2"
125 # option mcast_src_ip "224.0.0.1"
126 # option unicast_src_ip "192.168.0.1"
127 # option virtual_router_id "128"
128 # option priority "128"
129 # option advert_int "5"
130 # option nopreempt "1"
131 # option preempt_delay "500"
133 # option notify_backup "<switch-backup-state-script>"
134 # option notify_master "<switch-master-state-script>"
135 # option notify_fault "<switch-fault-state-script>"
136 # option notify_stop "<switch-stop-state-script>"
137 # option notify "<switch-any-state-script>"
138 # option smtp_alert "1"
142 # option script "<script-file>"
143 # option interval "5"
148 #config virtual_server
150 # option ipaddr "192.168.200.2"
152 # option fwmark "0x42"
153 # option delay_loop "30"
154 # valid values for lb_algo rr|wrr|lc|wlc
155 # option lb_algo "rr"
156 # valid values for lb_kind NAT|DR|TUN
157 # option lb_kind "NAT"
158 # option persistence_timeout "50"
159 # option persistence_granularity "192.168.110.2"
160 # option virtualhost "www.domain1.com"
161 # valid values for protocol TCP|UDP
162 # option protocol "TCP"
163 # option sorry_server_ip "192.168.100.100"
164 # option sorry_server_port "80"
165 # list real_server "Server1"
166 # list real_server "Server2"
170 # option name "Server1"
172 # option check "HTTP_GET"
173 # only for check TCP_CHECK|HTTP_GET|SSL_GET
174 # option connect_port "80"
175 # option connect_timeout "3"
176 # only for check MISC_CHECK
177 # option misc_path "<user-defined-check-script>"
178 # only for check HTTP_GET | SSL_GET
181 # option nb_get_retry "3"
182 # option delay_before_retry "2"
186 # option name "Server2"
188 # option check "TCP_CHECK"
189 # option connect_port "80"
190 # option connect_timeout "3"
194 # option path "/testurl/test1.jsp"
199 # option path "/testurl/test2.jsp"