here's a weird one for you...
I have an lvs-dr setup that directs http traffic to a set of 4 linux
realservers. For the most part, the setup works great: all windows and
linux desktop pcs work just fine connecting to the virtual served
websites.
The problem is that most of our users are running on Windows Terminal
Server (NT4) w/citrix metaframe, and for whatever reason, the virtual
server works VERY intermittently when attempting to connect from this
machine. Sometimes it works, other times you'll get a 'document
contains no data' or 'unable to display page' message. I've verified
the problem with a manual telnet into port 80 from the same machine.. I
get a connection refused whenever the problem occurs when attempting to
connect to the virtual server port 80. It doesn't seem to be related to
Citrix since the problem will also occur when using the machine from the
console.
At this point I'm thinking the problem has something to do with the
windows TCP stack, but that doesn't help me in trying to find a solution
:-/
Browser version doesn't matter, which makes sense due to my telnet
testing from the machine.. this seems to be a client level problem of
some type, but I can't for the life of me figure it out. The only other
strange thing about the windows terminal servers is that we are running
bonded ethernet interfaces on them. I may try going back to a single
interface on our test machine to see if it makes any difference.
Has anyone else experienced problems such as the one I have described?
suggestions?
Here's my ldirectord.cf file for reference, followed by ipvsadm -L and
ifconfig for good measure:
ldirectord.cf:
--------------------------
# Global Directives
checktimeout=15
checkinterval=5
#fallback=127.0.0.1:80
autoreload=yes
logfile="/var/log/ldirectord.log"
logfile="local0"
quiescent=no
# Virtual Server for HTTP
virtual=172.16.7.220:80
fallback=127.0.0.1:80
real=172.16.7.31:80 gate
real=172.16.7.32:80 gate
real=172.16.7.33:80 gate
real=172.16.7.34:80 gate
service=http
request="/static/lvs_alive.html"
receive="alive"
scheduler=rr
persistent=600
protocol=tcp
checktype=10
# Virtual Service for HTTPS
virtual=172.16.7.220:443
real=172.16.7.31:443 gate
real=172.16.7.32:443 gate
real=172.16.7.33:443 gate
real=172.16.7.34:443 gate
fallback=127.0.0.1:443
service=https
#request="/static/lvs_alive.html"
#receive="alive"
scheduler=rr
persistent=600
protocol=tcp
checktype=connect
---------------------------
ipvsadm -L (the 4th server is not running):
[root@lvs1 root]# ipvsadm -L
IP Virtual Server version 1.0.10 (size=65536)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP vserver.sonitrol.net:https rr persistent 600
-> intra3.sonitrol.net:https Route 1 0 0
-> intra2.sonitrol.net:https Route 1 0 0
-> intra1.sonitrol.net:https Route 1 0 0
TCP vserver.sonitrol.net:http rr persistent 600
-> intra3.sonitrol.net:http Route 1 0 0
-> intra2.sonitrol.net:http Route 1 0 0
-> intra1.sonitrol.net:http Route 1 0 0
----------------------------
ifconfig:
[root@lvs1 root]# ifconfig
bond0 Link encap:Ethernet HWaddr 00:08:9B:06:01:A9
inet addr:172.16.7.202 Bcast:172.16.7.255 Mask:255.255.255.0
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:38472406 errors:1 dropped:0 overruns:0 frame:1
TX packets:1842842 errors:11 dropped:0 overruns:0 carrier:11
collisions:0 txqueuelen:0
RX bytes:2858744440 (2726.3 Mb) TX bytes:128750860 (122.7 Mb)
bond0:0 Link encap:Ethernet HWaddr 00:08:9B:06:01:A9
inet addr:172.16.7.220 Bcast:172.16.7.255 Mask:255.255.255.0
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth0 Link encap:Ethernet HWaddr 00:08:9B:06:01:A8
inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2052620 errors:0 dropped:0 overruns:0 frame:0
TX packets:2224901 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:321903672 (306.9 Mb) TX bytes:380431517 (362.8 Mb)
Interrupt:5 Base address:0xb000 Memory:d7a20000-d7a20038
eth1 Link encap:Ethernet HWaddr 00:08:9B:06:01:A9
inet addr:172.16.7.202 Bcast:172.16.7.255 Mask:255.255.255.0
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:38472406 errors:1 dropped:0 overruns:0 frame:1
TX packets:1842842 errors:11 dropped:0 overruns:0 carrier:11
collisions:0 txqueuelen:100
RX bytes:2858744440 (2726.3 Mb) TX bytes:128750860 (122.7 Mb)
Interrupt:12 Base address:0xb400 Memory:d7a21000-d7a21038
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2576 errors:0 dropped:0 overruns:0 frame:0
TX packets:2576 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:302116 (295.0 Kb) TX bytes:302116 (295.0 Kb)
----------------------------
Thanks
-Marc Swanson-
Sonitrol Communications Corp.
Hartford, CT
|