通过redhat的piranha-gui配置了一个LVS,实际使用中发现两台服务器的负载不均衡,检查message日志发现了很多报错。
Apr 17 17:08:30 lvs-dr2 nanny[2530]: READ to 10.1.8.180:80 timed out
Apr 17 17:08:30 lvs-dr2 nanny[2530]: [inactive] shutting down 10.1.8.180:80 due to connection failure
Apr 17 17:08:42 lvs-dr2 nanny[2530]: [ active ] making 10.1.8.180:80 available
Apr 17 18:11:27 lvs-dr2 nanny[2532]: READ to 10.1.8.196:80 timed out
Apr 17 18:11:27 lvs-dr2 nanny[2532]: [inactive] shutting down 10.1.8.196:80 due to connection failure