Skip to content

Commit

Permalink
lvs: No route to host
Browse files Browse the repository at this point in the history
ip lvs have multi node. the vip may be connect failed.

test:
1. while true;do ;nc -vz 192.168.0.252 5432 sleep 1; done
2. for (( i=0; i < 100; i++))
do
	nc -vz 192.168.0.252 5432
done
  • Loading branch information
zlianzhuang committed Jul 22, 2024
1 parent 415b9d1 commit 3f36269
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
{real_main_servers}
}}
virtual_server {read_vip} {port} {{
virtual_server fwmark 1 {{
delay_loop 10
lb_algo lc
lb_kind DR
Expand Down

0 comments on commit 3f36269

Please sign in to comment.