hi,
I'm trying to set up a cluster of ser boxes using ultramonkey. i want ldirectord to detect if any of the ser boxes is down, but am not able to set it up properly.
Here's my ldirector.cf:
checktimeout=10 checkinterval=2 autoreload=no logfile="local0" quiescent=yes
virtual=10.1.201.189:5060 real=10.1.201.191:5060 gate real=10.1.201.193:5060 gate scheduler=wlc protocol=udp # checktype=connect persistent=600
Using the above configuration, ipvsadm reports the real servers are up even if they aren't. If i enable "checktype=connect", ipvsadm reports the real servers are always down.
if anyone know of solutions, please let me know. thanks.
Jack Wei
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Jack, You may want to have a look at this thread: http://lists.iptel.org/pipermail/serusers/2005-April/018058.html There is an issue called call-id stickiness that will cause you problems if you have devices behind NAT. If you don't, you should be fine with LVS. As for your problem, you may want to post it the the LVS mailing list. I have never heard about this before, but it may be due to the way ldirector is testing "upness". I'm quite sure it does not support an OPTIONS SIP message as a ping and that it will try on a lower level, which may be answered regardless of ser is running or not. Try turning off the network on the real server and see if it is detected as down. Also, do an ngrep on port 5060 on the real server to see what you get. g-)
Jack Wei wrote:
hi,
I'm trying to set up a cluster of ser boxes using ultramonkey. i want ldirectord to detect if any of the ser boxes is down, but am not able to set it up properly.
Here's my ldirector.cf:
checktimeout=10 checkinterval=2 autoreload=no logfile="local0" quiescent=yes
virtual=10.1.201.189:5060 real=10.1.201.191:5060 gate real=10.1.201.193:5060 gate scheduler=wlc protocol=udp # checktype=connect persistent=600
Using the above configuration, ipvsadm reports the real servers are up even if they aren't. If i enable "checktype=connect", ipvsadm reports the real servers are always down.
if anyone know of solutions, please let me know. thanks.
Jack Wei
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers