Pavel Loginov 2021-03-05 11:33:44 +06:00
parent 45e9510e02
commit 00bc0dad27
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
vrrp_instance VI_{{IP}} {
state {{MASTER}}
interface {{ETH}}
virtual_router_id {{ range(101, 1000) | random }}
virtual_router_id {{ range(2, 255) | random }}
priority 103
track_script {

View File

@ -10,7 +10,7 @@ vrrp_script chk_haproxy {
vrrp_instance VI_1 {
state {{MASTER}}
interface {{ETH}}
virtual_router_id 100
virtual_router_id 1
priority 102
#check if we are still running