lvs的问题

baoker 2010-06-07 01:10:40
我自己电脑是ubuntu 使用ipvsadm配置了 没问题
有realserver:192.168.0.171 / 181
我自己电脑这么配的
ipvsadm -A -t 192.168.0.11:80 -s rr
ipvsadm -a -t 192.168.0.11:80 -r 192.168.0.181:80 -m -w 1
ipvsadm -a -t 192.168.0.11:80 -r 192.168.0.171:80 -m -w 1
能正常工作 能转过去

有台服务器 centos 5.4
也完全这么配置 浏览器就一直在那转 就是打不开
InActConn 的值也有 就是打不开
...全文
107 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
lvyinghong 2010-06-07
  • 打赏
  • 举报
回复
没用lvs,建议检查一下防火墙设置和lvs的驱动
友情up
baoker 2010-06-07
  • 打赏
  • 举报
回复
本机的(ubuntu)
baoker@baoker:~$ sudo ipvsadm --version
ipvsadm v1.24 2005/12/10 (compiled with popt and IPVS v1.2.0)
baoker@baoker:~$ sudo ipvsadm
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP localhost:www rr
-> localhost:www Masq 1 0 0

=========
服务器的
[root@VMserver003 www]# ipvsadm --version
ipvsadm v1.24 2003/06/07 (compiled with getopt_long and IPVS v1.2.0)
[root@VMserver003 www]# ipvsadm
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP localhost:http rr
-> localhost:http Masq 1 0 0
[root@VMserver003 www]#


这是一台虚拟服务器 用真实服务器也不行

19,613

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧