Cosmetics changes v1.2.2
authorAlexandre Cassen <acassen@freebox.fr>
Sun, 16 Jan 2011 19:34:16 +0000 (20:34 +0100)
committerAlexandre Cassen <acassen@freebox.fr>
Sun, 16 Jan 2011 19:34:16 +0000 (20:34 +0100)
ChangeLog
doc/keepalived.conf.SYNOPSIS
doc/samples/keepalived.conf.IPv6 [new file with mode: 0644]

index 1aabe8a..49fe1c7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
          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.
index c8a4eb7..c8aae37 100644 (file)
@@ -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 <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
diff --git a/doc/samples/keepalived.conf.IPv6 b/doc/samples/keepalived.conf.IPv6
new file mode 100644 (file)
index 0000000..6867d68
--- /dev/null
@@ -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
+#        }
+#    }
+
+
+}
+
+