diff options
Diffstat (limited to 'examples/sync')
-rw-r--r-- | examples/sync/nack/node1/keepalived.conf | 1 | ||||
-rw-r--r-- | examples/sync/nack/node2/keepalived.conf | 1 | ||||
-rwxr-xr-x | examples/sync/nack/script_fault.sh | 4 | ||||
-rw-r--r-- | examples/sync/persistent/node1/keepalived.conf | 1 | ||||
-rw-r--r-- | examples/sync/persistent/node2/keepalived.conf | 1 | ||||
-rwxr-xr-x | examples/sync/persistent/script_fault.sh | 4 |
6 files changed, 12 insertions, 0 deletions
diff --git a/examples/sync/nack/node1/keepalived.conf b/examples/sync/nack/node1/keepalived.conf index 41aa35b..f272a02 100644 --- a/examples/sync/nack/node1/keepalived.conf +++ b/examples/sync/nack/node1/keepalived.conf @@ -5,6 +5,7 @@ vrrp_sync_group G1 { # must be before vrrp_instance declaration } 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 { diff --git a/examples/sync/nack/node2/keepalived.conf b/examples/sync/nack/node2/keepalived.conf index 41aa35b..f272a02 100644 --- a/examples/sync/nack/node2/keepalived.conf +++ b/examples/sync/nack/node2/keepalived.conf @@ -5,6 +5,7 @@ vrrp_sync_group G1 { # must be before vrrp_instance declaration } 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 { diff --git a/examples/sync/nack/script_fault.sh b/examples/sync/nack/script_fault.sh new file mode 100755 index 0000000..68f1534 --- /dev/null +++ b/examples/sync/nack/script_fault.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +/usr/sbin/conntrackd -f +/usr/sbin/conntrackd -F diff --git a/examples/sync/persistent/node1/keepalived.conf b/examples/sync/persistent/node1/keepalived.conf index 41aa35b..f272a02 100644 --- a/examples/sync/persistent/node1/keepalived.conf +++ b/examples/sync/persistent/node1/keepalived.conf @@ -5,6 +5,7 @@ vrrp_sync_group G1 { # must be before vrrp_instance declaration } 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 { diff --git a/examples/sync/persistent/node2/keepalived.conf b/examples/sync/persistent/node2/keepalived.conf index 41aa35b..f272a02 100644 --- a/examples/sync/persistent/node2/keepalived.conf +++ b/examples/sync/persistent/node2/keepalived.conf @@ -5,6 +5,7 @@ vrrp_sync_group G1 { # must be before vrrp_instance declaration } 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 { diff --git a/examples/sync/persistent/script_fault.sh b/examples/sync/persistent/script_fault.sh new file mode 100755 index 0000000..68f1534 --- /dev/null +++ b/examples/sync/persistent/script_fault.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +/usr/sbin/conntrackd -f +/usr/sbin/conntrackd -F |