summaryrefslogtreecommitdiffstats
path: root/doc/sync/notrack/keepalived.conf
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-08-01 18:31:25 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-08-01 18:31:25 +0200
commit03f7de56efc6747eb6b4895c03aa2efaaed80efe (patch)
treee6cfd2bd0994933df8648cb75cf4073d982f616c /doc/sync/notrack/keepalived.conf
parent9de87ff1c675f7ae5f463c4820bffb502e7ce852 (diff)
doc: remove duplicated example files
This patch removes the directories node1/ and node2/ since the differences are few small and the user should be able to get it running if he RTFM. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/sync/notrack/keepalived.conf')
-rw-r--r--doc/sync/notrack/keepalived.conf39
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/sync/notrack/keepalived.conf b/doc/sync/notrack/keepalived.conf
new file mode 100644
index 0000000..f937467
--- /dev/null
+++ b/doc/sync/notrack/keepalived.conf
@@ -0,0 +1,39 @@
+vrrp_sync_group G1 { # must be before vrrp_instance declaration
+ group {
+ VI_1
+ VI_2
+ }
+ notify_master /etc/conntrackd/script_master.sh
+ notify_backup /etc/conntrackd/script_backup.sh
+# notify_fault /etc/conntrackd/script_fault.sh
+}
+
+vrrp_instance VI_1 {
+ interface eth1
+ state SLAVE
+ virtual_router_id 61
+ priority 80
+ advert_int 3
+ authentication {
+ auth_type PASS
+ auth_pass papas_con_tomate
+ }
+ virtual_ipaddress {
+ 192.168.0.100 # default CIDR mask is /32
+ }
+}
+
+vrrp_instance VI_2 {
+ interface eth0
+ state SLAVE
+ virtual_router_id 62
+ priority 80
+ advert_int 3
+ authentication {
+ auth_type PASS
+ auth_pass papas_con_tomate
+ }
+ virtual_ipaddress {
+ 192.168.1.100
+ }
+}