docker-keepalived/image/service/keepalived/assets/keepalived.conf

28 lines
433 B
Plaintext
Raw Normal View History

2015-06-16 12:06:49 +00:00
vrrp_instance VI_1 {
2015-06-15 14:04:40 +00:00
interface {{ keepalived_interface }}
2015-06-15 19:33:06 +00:00
track_interface {
{{ keepalived_interface }}
}
2015-07-09 19:41:14 +00:00
state BACKUP
2015-06-09 18:41:43 +00:00
virtual_router_id 51
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 {
{{ keepalived_unicast_peers }}
}
2015-06-09 18:41:43 +00:00
virtual_ipaddress {
2015-06-15 19:33:06 +00:00
{{ keepalived_virtual_ips }}
2015-06-09 18:41:43 +00:00
}
authentication {
auth_type PASS
auth_pass {{ keepalived_password }}
}
2016-08-29 07:25:20 +00:00
{{ keepalived_notify }}
2015-06-09 18:41:43 +00:00
}