diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-08-02 18:51:34 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-08-02 18:51:34 +0200 |
commit | c403246424350bae14a30fc6a115608ca15f2aa1 (patch) | |
tree | 7382050467492a959389d13f5972ca6966304c2b /doc/sync/notrack | |
parent | 03f7de56efc6747eb6b4895c03aa2efaaed80efe (diff) | |
download | conntrack-tools-c403246424350bae14a30fc6a115608ca15f2aa1.tar.gz conntrack-tools-c403246424350bae14a30fc6a115608ca15f2aa1.zip |
script: rework scripts that enable interaction with keepalived
This patch reworks the documentation section. It removes the replicated
keepalived.conf files and merge all the scripts into one to reduce
confusion and improve maintainability.
It's likely that the documentation directory will suffer more
restructurations in the near future.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/sync/notrack')
-rw-r--r-- | doc/sync/notrack/keepalived.conf | 39 | ||||
-rw-r--r-- | doc/sync/notrack/script_backup.sh | 3 | ||||
-rw-r--r-- | doc/sync/notrack/script_master.sh | 5 |
3 files changed, 0 insertions, 47 deletions
diff --git a/doc/sync/notrack/keepalived.conf b/doc/sync/notrack/keepalived.conf deleted file mode 100644 index f937467..0000000 --- a/doc/sync/notrack/keepalived.conf +++ /dev/null @@ -1,39 +0,0 @@ -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 - } -} diff --git a/doc/sync/notrack/script_backup.sh b/doc/sync/notrack/script_backup.sh deleted file mode 100644 index 813e375..0000000 --- a/doc/sync/notrack/script_backup.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -/usr/sbin/conntrackd -n # request a resync from other nodes via multicast diff --git a/doc/sync/notrack/script_master.sh b/doc/sync/notrack/script_master.sh deleted file mode 100644 index ff1dbc0..0000000 --- a/doc/sync/notrack/script_master.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -/usr/sbin/conntrackd -c # commit the cache -/usr/sbin/conntrackd -f # flush the caches -/usr/sbin/conntrackd -R # resync with kernel conntrack table |