服务器 Gind.cn

服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器

LVS(ipvs)负载均衡的Squid。 一些网站的问题

我试图build立一个双节点的squid代理群集。 这将是一个正常的代理(既不反向,也不透明)。 我正在使用LVS(内核2.6.32,ipvsadm v.1.2.1,隧道)进行负载平衡,ldirectord(v。1.0.3)作为HA,squid(v.3.1.7)作为代理服务器。 群集适用于大多数网站,但遇到问题(例如)login到谷歌帐户,通过OpenIDlogin到serverfault.com等似乎问题出现在某种types的redirect的网站,虽然在其他网站301-编码redirect工作正常。 当我直接通过每个代理节点工作时,一切正常。 我在LVS中尝试了不同types的作业调度algorithm,但没有帮助。 只留下集群中的一个节点也不能解决问题。 Squid的access.log和cache.log也是“干净的”,没有错误出现,只是一个正常的活力。 有人遇到过这样的问题吗? 有没有人有这种types的工作集群(与IPVS平衡)? 任何想法在故障排除? 以下是configuration文件的一些部分: ldirectord.cf: # Virtual Server for HTTP_PROXY virtual=10.128.0.109:8080 fallback=127.0.0.1:80 real=10.128.1.43:8080 ipip 30 real=10.128.0.106:8080 ipip 40 service=http_proxy request="http://www.google.com/index.html" receive="Google Search" scheduler=wlc #persistent=600 protocol=tcp checktype=negotiate squid.conf中: http_port 10.128.0.106:8080 # "real" IP of the node http_port 10.128.0.109:8080 # "Virtual" IP of the cluster on tunl0 interface […]