我有一个负载平衡集群与两个真正的服务器使用直接路由方法,在真正的服务器上有一个域。现在,我只为ldirectord设置了一个虚拟IP和两个实际IP。如何为不同的域添加另一个虚拟IP和两个实际IP?有可能吗?谢谢。
我当前的ldirectord配置如下:
# /etc/ha.d/ldirectord.cf
checktimeout=3
checkinterval=5
autoreload=yes
logfile="/var/log/ldirectord.log"
quiescent=yes
virtual=192.168.0.200:80
fallback=127.0.0.1:80
real=192.168.0.110:80 gate
real=192.168.0.120:80 gate
service=http
request="test.html"
receive="Still alive"
scheduler=wlc
protocol=tcp
checktype=negotiate我是遵照这条指示:
http://www.novell.com/communities/node/4846/load-balancing-howto-lvs-ldirectord-heartbeat-2
发布于 2012-01-31 23:12:47
添加另一个virtual部分和所有相关的位来支持它,就像第一个部分一样。其他的直接路由设置自然是相同的。
https://serverfault.com/questions/355609
复制相似问题