mirror of https://github.com/Aidaho12/haproxy-wi
parent
45e9510e02
commit
00bc0dad27
|
@ -1,7 +1,7 @@
|
||||||
vrrp_instance VI_{{IP}} {
|
vrrp_instance VI_{{IP}} {
|
||||||
state {{MASTER}}
|
state {{MASTER}}
|
||||||
interface {{ETH}}
|
interface {{ETH}}
|
||||||
virtual_router_id {{ range(101, 1000) | random }}
|
virtual_router_id {{ range(2, 255) | random }}
|
||||||
priority 103
|
priority 103
|
||||||
|
|
||||||
track_script {
|
track_script {
|
||||||
|
|
|
@ -10,7 +10,7 @@ vrrp_script chk_haproxy {
|
||||||
vrrp_instance VI_1 {
|
vrrp_instance VI_1 {
|
||||||
state {{MASTER}}
|
state {{MASTER}}
|
||||||
interface {{ETH}}
|
interface {{ETH}}
|
||||||
virtual_router_id 100
|
virtual_router_id 1
|
||||||
priority 102
|
priority 102
|
||||||
|
|
||||||
#check if we are still running
|
#check if we are still running
|
||||||
|
|
Loading…
Reference in New Issue