39 lines
No EOL
617 B
Smarty
39 lines
No EOL
617 B
Smarty
global_defs {
|
|
router_id 51
|
|
script_user root
|
|
enable_script_security
|
|
}
|
|
|
|
vrrp_script chk_komodo {
|
|
# CONTAINER PATH (Inside the mount)
|
|
script "/usr/local/etc/keepalived/check_komodo.sh"
|
|
interval 2
|
|
weight -5
|
|
fall 2
|
|
rise 1
|
|
}
|
|
|
|
vrrp_instance VI_1 {
|
|
state {{STATE}}
|
|
interface eth0
|
|
virtual_router_id 51
|
|
priority {{PRIORITY}}
|
|
advert_int 1
|
|
|
|
unicast_peer {
|
|
{{PEER}}
|
|
}
|
|
|
|
authentication {
|
|
auth_type PASS
|
|
auth_pass {{PASSWORD}}
|
|
}
|
|
|
|
virtual_ipaddress {
|
|
172.16.201.250/24
|
|
}
|
|
|
|
track_script {
|
|
chk_komodo
|
|
}
|
|
} |