You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Through keepalived nginx master and backup, but the main nginx lost, the virtual IP will not drift to nginx, configured as follows:
10.10.14.9 The host hosts the main nginx and keepalived containers
10.10.14.8 The host has prepared nginx and keepalived containers
keepalived configure:
global_defs {
default_interface ens33
}
#vrrp_script chk_nginx {
script "/etc/keepalived/check_nginx.sh"
interval 2
weight -5
fall 3
rise 2
#}
vrrp_instance VI_1 {
interface ens33
track_interface {
ens33
}
state MASTER
virtual_router_id 51
priority 100
nopreempt
Hi,
Through keepalived nginx master and backup, but the main nginx lost, the virtual IP will not drift to nginx, configured as follows:
10.10.14.9 The host hosts the main nginx and keepalived containers
10.10.14.8 The host has prepared nginx and keepalived containers
keepalived configure:
global_defs {
default_interface ens33
}
#vrrp_script chk_nginx {
script "/etc/keepalived/check_nginx.sh"
interval 2
weight -5
fall 3
rise 2
#}
vrrp_instance VI_1 {
interface ens33
track_interface {
ens33
}
state MASTER
virtual_router_id 51
priority 100
nopreempt
unicast_peer {
10.10.14.8
10.10.14.9
}
virtual_ipaddress {
10.10.14.16
}
authentication {
auth_type PASS
auth_pass 1111
}
track_script {
chk_nginx
}
notify "/container/service/keepalived/assets/notify.sh"
The text was updated successfully, but these errors were encountered: