
paul.degtyarev at gmail
Feb 22, 2008, 9:03 AM
Post #1 of 3
(342 views)
Permalink
|
|
[lvs-users] checkcommand option in ldirector does not seem to work
|
|
Hello, I setup a simple service check script for ldirector which works just fine from a command line, it returns 0 on success, 2 on error, I check that with "echo $?". But when I try to use it as a check command in ldirector it seems not to produce right result, ldirector seems to think that both my service servers are down. I use the following ldirectord.cf: virtual=192.168.0.77:5060 real=192.168.0.9:5060 gate 1 real=192.168.0.7:5060 gate 1 scheduler=rr # persistent=600 # #netmask=255.255.255.255 protocol=udp checktype=external # service=sip # login = "4000000" # passwd = "123456" checkcommand="/opt/ldirtest/test_opt.sh" # checktimeout=1 # checkport=5060 Is there a way to debug ldirectord? It seems to produce very little info in log file. I run it under centos 5.1, installed as rpm "heartbeat-ldirectord.x86_64 2.1.3-3.el5.centos" _______________________________________________ LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer Send requests to lvs-users-request [at] LinuxVirtualServer or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|