2017-04-02 11:18:52 +00:00
|
|
|
global_defs {
|
|
|
|
default_interface {{ KEEPALIVED_INTERFACE }}
|
|
|
|
}
|
|
|
|
|
2015-06-16 12:06:49 +00:00
|
|
|
vrrp_instance VI_1 {
|
2017-04-02 11:18:52 +00:00
|
|
|
interface {{ KEEPALIVED_INTERFACE }}
|
2015-06-15 19:33:06 +00:00
|
|
|
|
2015-07-09 19:41:14 +00:00
|
|
|
state BACKUP
|
2018-05-12 16:43:11 +00:00
|
|
|
virtual_router_id {{ KEEPALIVED_ROUTER_ID }}
|
2017-04-02 11:18:52 +00:00
|
|
|
priority {{ KEEPALIVED_PRIORITY }}
|
2015-06-15 19:33:06 +00:00
|
|
|
nopreempt
|
2015-06-09 18:41:43 +00:00
|
|
|
|
2015-06-16 09:13:22 +00:00
|
|
|
unicast_peer {
|
2017-04-02 11:18:52 +00:00
|
|
|
{{ KEEPALIVED_UNICAST_PEERS }}
|
2015-06-16 09:13:22 +00:00
|
|
|
}
|
2015-06-09 18:41:43 +00:00
|
|
|
|
|
|
|
virtual_ipaddress {
|
2017-04-02 11:18:52 +00:00
|
|
|
{{ KEEPALIVED_VIRTUAL_IPS }}
|
2015-06-09 18:41:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
authentication {
|
|
|
|
auth_type PASS
|
2017-04-02 11:18:52 +00:00
|
|
|
auth_pass {{ KEEPALIVED_PASSWORD }}
|
2015-06-09 18:41:43 +00:00
|
|
|
}
|
2016-08-29 07:25:20 +00:00
|
|
|
|
2017-04-02 11:18:52 +00:00
|
|
|
{{ KEEPALIVED_NOTIFY }}
|
2015-06-09 18:41:43 +00:00
|
|
|
}
|