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

34 lines
482 B
Plaintext
Raw Normal View History

2015-06-16 12:06:49 +00:00
vrrp_sync_group VG_1 {
group {
VI_1
}
{{ keepalived_notify }}
}
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 }}
}
}