Hi,
I have a 0.4.12 (soon to be upgraded to 0.4.16, but the last time I
upgraded my kernel I hosed the whole system so I've been putting that off
until probably tomorrow) on Redhat 6.2, with three Win2k IIS machines being
distributed.
For some reason, when you hit the first page
(http://toaster.meansbusiness.com/toaster, if you're interested), behavior
varies. Sometimes everything loads normally (on my Mac running IE 5).
Sometimes you get nothing (it just hangs out), and sometimes you get a
partial load (the home page HTML and one of two images loads).
I suspected that there was a problem with one of the real servers, so I
systematically hit them, one at a time, using their individual IP addresses
and bypassing the load balancer - worked like a charm. I then removed each
real server from my lvs.cf file one by one - only the third in the list
worked, and the other two would simply hang when I tried to access them
through the lvs.
The odd part is that now, if you hit the first page, whether you get
broken links on images, or whatever, if you hit refresh a few times,
eventually you get a login prompt (which is supposed to happen) and can
login to the server. After that, everything works like a charm, so it
appears to be some kind of initial connection issue that eventually gets
resolved, but I'm not sure how to troubleshoot this or find out why it's
happening. Also, when firing up the piranha interface, I receive an error
stating that "ipvsadm -l terminated abnormally." Not sure what to do about
that one, as it appears to work normally from the command prompt.
Any suggestions would be greatly appreciated, and my lvs.cf file follows
if you're interested.
Thank you,
Peter
primary = 209.198.101.184
service = lvs
rsh_command = rsh
backup_active = 0
backup = 0.0.0.0
heartbeat = 0
heartbeat_port = 539
keepalive = 6
deadtime = 18
network = nat
nat_router = 192.168.1.1 eth1:0
virtual toaster.meansbusiness.com {
address = 209.198.101.185 eth0:0
send = "GET / HTTP/1.0\r\n\r\n"
expect = "HTTP"
protocol = tcp
timeout = 18
reentry = 6
active = 1
scheduler = rr
load_monitor = ruptime
server toaster01 {
address = 192.168.1.11
active = 1
}
server toaster02 {
address = 192.168.1.12
active = 1
}
server toaster03 {
address = 192.168.1.13
active = 1
}
}
|