
radecki.rafal at gmail
Apr 11, 2012, 5:13 AM
Post #1 of 2
(224 views)
Permalink
|
|
[lvs-users] LVS - problem with switching beetwen servers behind LVS.
|
|
Hi All. I currently have a problem, in lvs.cf I have: virtual mail-pop3 { active = 1 address = Y.Y.Y.181 eth0:1001 vip_nmask = 255.255.255.0 port = 110 send = "\n" expect = "+OK" use_regex = 0 load_monitor = none scheduler = wlc protocol = tcp timeout = 4 reentry = 8 quiesce_server = 0 server imap-proxy-1 { address = X.X.X.X.66 active = 1 weight = 1 } server imap-proxy-2 { address = X.X.X.X.68 active = 1 weight = 1 } server imap-proxy-3 { address = X.X.X.X.70 active = 1 weight = 1 } server imap-proxy-4 { address = X.X.X.X.71 active = 1 weight = 1 } } In ipvsadm -L -n I have: TCP Y.Y.Y.181:995 wlc -> X.X.X.68:995 Route 1 34 118 -> X.X.X.70:995 Route 1 33 239 -> X.X.X.66:995 Route 1 34 100 -> X.X.X.71:995 Route 1 35 93 In netstat -an | egrep 'X.X.X.66|X.X.X.68|X.X.X.70|X.X.X.71' I usually have: tcp 0 0 X.X.X.2:58589 X.X.X.71:995 ESTABLISHED tcp 0 0 X.X.X.2:58701 X.X.X.71:995 ESTABLISHED When all imap-proxy servers are active switching beetwen them works fine. But when imap-proxy-4 goes down then switching does not work, the requests for Y.Y.Y.181 are not forwarded to X.X.X.{68,66,70,71}. In /var/log/messages there is no info about problems with these hosts. What could be wrong? How to troubleshoot the issue? System info: CentOS release 5.5 (Final) piranha-0.8.4-16.el5 heartbeat-3.0.3-2.3.el5 Best regards, Rafal Radecki. _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ 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
|