- 论坛徽章:
- 0
|
启动ldirectord 后,日志ldirectord.log
[Sat Apr 14 09:37:50 2007|ldirectord|13113] Invoking ldirectord invoked as: /usr/sbin/ldirectord start
[Sat Apr 14 09:37:50 2007|ldirectord|13113] Starting Linux Director v1.141 as daemon
[Sat Apr 14 09:37:50 2007|ldirectord|13115] Changed virtual server: 192.168.1.121:80
[Sat Apr 14 09:37:50 2007|ldirectord|13115] Restored real server: 192.168.1.120:80 ( x 192.168.1.121:80) (Weight set to 2)
算正常吗?有两台 RealServer 怎么这里只能显示一台呢?而且我试过了,停了其中一台,根本不会自己检测出来,配置文件如下:
# Global Directives
checktimeout=3
checkinterval=1
fallback=127.0.0.1:80
autoreload=yes
logfile="/var/log/ldirectord.log"
#logfile="local0"
quiescent=yes
# A sample virual with a fallback that will override the gobal setting
virtual=192.168.1.121:80
real=192.168.1.131:80 gate weight 1
real=192.168.1.120:80 gate weight 2
#real=192.168.6.6:80 gate
fallback=127.0.0.1:80 gate
service=http
request="index.html"
receive="Test Page"
virtualhost=192.168.1.121
scheduler=rr
#persistent=600
#netmask=255.255.255.255
protocol=tcp
# service ldirectord status;
ldirectord stale pid file /var/run/ldirectord.ldirectord.pid for /etc/ha.d/ldirectord.cf
ldirectord is stopped for /etc/ha.d/ldirectord.cf
哪位来帮一下
[ 本帖最后由 jatic 于 2007-4-19 15:38 编辑 ] |
|