From a6bc0b0c36a4a43c7693da2d1f6386ab62ccaab1 Mon Sep 17 00:00:00 2001 From: Alexandre Cassen Date: Sun, 16 Jan 2011 20:34:16 +0100 Subject: [PATCH] Cosmetics changes --- ChangeLog | 4 +++ doc/keepalived.conf.SYNOPSIS | 2 ++ doc/samples/keepalived.conf.IPv6 | 57 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 doc/samples/keepalived.conf.IPv6 diff --git a/ChangeLog b/ChangeLog index 1aabe8a..49fe1c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,10 @@ 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 * keepalived-1.2.1 released. diff --git a/doc/keepalived.conf.SYNOPSIS b/doc/keepalived.conf.SYNOPSIS index c8a4eb7..c8aae37 100644 --- a/doc/keepalived.conf.SYNOPSIS +++ b/doc/keepalived.conf.SYNOPSIS @@ -144,6 +144,8 @@ Important: for a SYNC group to run reliably, it is vital that all instances in The configuration block looks like : vrrp_instance { # VRRP instance declaration + native_ipv6 # Force instance to use IPv6 + # when using mixed IPv4&IPv6 conf state MASTER|BACKUP # Start-up default state interface # Binding interface track_interface { # Interfaces state we monitor diff --git a/doc/samples/keepalived.conf.IPv6 b/doc/samples/keepalived.conf.IPv6 new file mode 100644 index 0000000..6867d68 --- /dev/null +++ b/doc/samples/keepalived.conf.IPv6 @@ -0,0 +1,57 @@ +# 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 +# } +# } + + +} + + -- 1.7.10.4