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

26 lines
407 B
Plaintext
Raw Normal View History

2015-06-15 19:33:06 +00:00
vrrp_instance vip-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-06-09 18:41:43 +00:00
state MASTER
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 }}
}
}