34 lines
482 B
Plaintext
34 lines
482 B
Plaintext
vrrp_sync_group VG_1 {
|
|
group {
|
|
VI_1
|
|
}
|
|
|
|
{{ keepalived_notify }}
|
|
}
|
|
|
|
vrrp_instance VI_1 {
|
|
interface {{ keepalived_interface }}
|
|
|
|
track_interface {
|
|
{{ keepalived_interface }}
|
|
}
|
|
|
|
state BACKUP
|
|
virtual_router_id 51
|
|
priority {{ keepalived_priority }}
|
|
nopreempt
|
|
|
|
unicast_peer {
|
|
{{ keepalived_unicast_peers }}
|
|
}
|
|
|
|
virtual_ipaddress {
|
|
{{ keepalived_virtual_ips }}
|
|
}
|
|
|
|
authentication {
|
|
auth_type PASS
|
|
auth_pass {{ keepalived_password }}
|
|
}
|
|
}
|