You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
426 B
24 lines
426 B
vrrp_script chk_nginx {
|
|
script "{{ vrrp_check_nginx_script_path }}"
|
|
interval 5
|
|
timeout 3
|
|
weight 2
|
|
}
|
|
|
|
vrrp_instance VI_1 {
|
|
state MASTER
|
|
interface {{ vrrp_interface }}
|
|
virtual_router_id 51
|
|
priority 100
|
|
advert_int 1
|
|
authentication {
|
|
auth_type PASS
|
|
auth_pass {{ vrrp_auth_password }}
|
|
}
|
|
virtual_ipaddress {
|
|
{{ vrrp_virtual_ip }} dev {{ vrrp_interface }}
|
|
}
|
|
track_script {
|
|
chk_nginx
|
|
}
|
|
}
|
|
|