connecting remote peer simply register a new timer for
next check. This is specially needed in IPv6 context
where a unreachable host can be reached at delayed time.
+ * code clean-up: revisited the code to use more POSIX
+ compliant declaration. thread typedef to use thread_t
+ instead. revisisted checker framework to use POSIX typdef
+ declaration.
2010-12-08 Alexandre Cassen <acassen@linux-vs.org>
* keepalived-1.2.1 released.
The configuration block looks like :
vrrp_instance <STRING> { # VRRP instance declaration
+ native_ipv6 # Force instance to use IPv6
+ # when using mixed IPv4&IPv6 conf
state MASTER|BACKUP # Start-up default state
interface <STRING> # Binding interface
track_interface { # Interfaces state we monitor
--- /dev/null
+# Configuration File for keepalived
+
+global_defs {
+ router_id LVS_DEVEL
+}
+
+
+virtual_server_group IPv6_group {
+ ae00::2-9 80
+ ae00::1 80
+}
+
+#virtual_server group IPv6_group {
+virtual_server ae00::1 80 {
+ delay_loop 6
+ lb_algo rr
+ lb_kind NAT
+ persistence_timeout 50
+ protocol TCP
+
+# real_server ae00::10 80 {
+ real_server ae00::10 25 {
+ weight 1
+
+ SMTP_CHECK {
+ connect_timeout 3
+ retry 3
+ helo_name "foo.bar.com"
+
+# host {
+# bindto ae00::2
+# connect_ip ae00::10
+# connect_port 25
+# }
+ }
+
+# TCP_CHECK {
+# connect_port 80
+# bind_to ae00::2
+# }
+
+# HTTP_GET {
+# url {
+# path /ind.html
+# status_code 200
+# }
+# bindto ae00::2
+# connect_timeout 3
+# nb_get_retry 3
+# delay_before_retry 3
+# }
+# }
+
+
+}
+
+