1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/etc/keepalived/keepalived.conf
! Configuration File for keepalived
global_defs {
router_id filecdndatatest
}
vrrp_instance VIP_1 {
state MASTER
interface eth3
virtual_router_id 105
priority 100
advert_int 1
notify_master "/usr/local/bin/send_alert.sh 'haproxy_status_change' 'Public HAProxy status changed to active: tw06axxx' 'tw06axxx' 'error'"
notify_backup "/usr/local/bin/send_alert.sh 'haproxy_status_change' 'Public HAProxy status changed to standby: tw06axxx' 'tw06axxx' 'error'"
authentication {
auth_type PASS
auth_pass filecdndatatest
}
virtual_ipaddress {
1.1.1.99
2.2.2.196
3.3.3.199
}
}
|