30 lines
No EOL
915 B
Text
30 lines
No EOL
915 B
Text
global_defs {
|
|
router_id 1337
|
|
|
|
# This 3 settings make sure that the inital garp request will be sended 5 times with 1 sec in between to make
|
|
# sure the garp will be processed also if one request was missed by openstack.
|
|
vrrp_garp_master_repeat 5
|
|
vrrp_garp_interval 1
|
|
vrrp_garp_lower_prio_repeat 1
|
|
|
|
# Send garp every 5 min again to make sure everything is set in openstack if something failes.
|
|
vrrp_garp_master_refresh 300
|
|
vrrp_garp_master_refresh_repeat 1
|
|
|
|
# Make sure that in case 2 keepalived are in master state that the new master will send a garp again.
|
|
vrrp_higher_prio_send_advert true
|
|
}
|
|
vrrp_instance VI_1 {
|
|
state BACKUP
|
|
interface enp6s0
|
|
virtual_router_id 51
|
|
priority 254
|
|
advert_int 1
|
|
authentication {
|
|
auth_type PASS
|
|
auth_pass 12345
|
|
}
|
|
virtual_ipaddress {
|
|
10.1.2.64/24
|
|
}
|
|
} |