I deleted the HTTP farm and rebuilt it with a TCP farm. I set the load 
balancing algorithm to Round Robin, and turned off persistence and the problem 
has effectively gone away.  I say effectively because the HTML still renders 
incorrectly the first time the web page is refreshed after the ZenLB changes 
which backend server it is pointing to.

More specifically:


1.       The web page is being served from IISSERVER01. The web page loads 
without error on my PC.

2.       I stop the IIS service on IISSERVER01

3.       I refresh the web page on my PC

4.       For a few seconds, I get a "Not Found. HTTP Error 404" no matter how 
many times I refresh.

5.       The LB points to IISSERVER02

6.       After refreshing, the web page loads, but with the same 
CSS-Error-esque sizing issues (<li> being the full width of the screen and 
arranged one on top of the other instead of a hundred pixels wide and side by 
side, for example).

7.       If I refresh once or twice, the page finally renders correctly, and is 
then fine no matter how many times I refresh.

So, it eventually works, but not immediately after the web page is being served 
from a different web server. This is an acceptable quirk for web pages (our end 
users will just have to hit F5 a couple times), but I'm sure we'd still get 
support calls about it.

Any ideas on how to avoid even this minor issue?

-Matthew D


From: Emilio Campos [mailto:[email protected]]
Sent: Monday, June 04, 2012 3:31 PM
To: [email protected]
Subject: Re: [Zenloadbalancer-support] Problem rendering HTML on load balanced 
web servers

Matthew try the same tests with the TCP profile and tell us if with this 
profile your problem is reproduced


Regards
2012/6/4 Matthew DiSabatino <[email protected]<mailto:[email protected]>>
The HTML code is copied identically from the same source. In fact, I had this 
problem when all three web servers pointed to the same files on our SAN. And if 
I put any two of the servers in the farm into maintenance mode, the page loads 
fine. If there is more than one active server in the farm, the HTML renders 
strangely about 75% of the time. Often, one of the servers will render 
incorrectly, but when I reload the page, it renders correctly. Which server it 
is doesn't seem to matter. IT also doesn't matter which server is active by 
itself. It always works if there is only one server. Similarly, it doesn't 
matter which combination of servers I have active simultaneously; if I have 
more than one server active in the farm, the HTML renders incorrectly about 75% 
of the time.

Oh, and the farm is an HTTP farm.

This really has me scratching my head...

Matthew DiSabatino
Systems Administrator
WD-40 Company
619-275-9351<tel:619-275-9351> Direct


-----Original Message-----
From: Emilio Campos 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Monday, June 04, 2012 10:46 AM
To: 
[email protected]<mailto:[email protected]>
Subject: Re: [Zenloadbalancer-support] Problem rendering HTML on load balanced 
web servers

One of your backends is not equal in web content that the others.

Try the next
Configure the farm with only one backend and navigate in the url to check that 
the css is loaded ok.
After delete this backend and add other and try again this test with all your 
backend.

You should find the backend that has the  diferent code Also chech how the url 
incorrect is generated. If this url for css is bad check if you see the backend 
ip.

Zen doesnt modify web content only does load balancing.

What type of profile are you using? Tcp or http?

2012/6/4, Matthew DiSabatino 
<[email protected]<mailto:[email protected]>>:
> We are currently evaluating Zen Load balancer v2.0 stable, and I'm
> having a weird issue. HTML is intermittently not rending correctly on
> load-balanced web sites. The HTML renders correctly if I point a
> browser directly to each web server, but not if the HTML is served through 
> the ZenLB.
>
> I have two test farms set up: iistest and Intranet. iistest is just
> the default website IIS website on port 80 on each server. Intranet is
> a vanilla, out of the box ASP.NET<http://ASP.NET> 4.0 website (generated by 
> Visual
> Studio 2010), running on port 80 on a separate IP address on each
> server (10.0.2.161, 10.0.2.181,10.0.8.161). Intranet is an HTTP farm
> with a VIP of 10.0.2.201, with no persistence. Each web server has a
> copy of the same website, with the exception of adding text in the
> HTML of the server's name (so I could tell which web server is serving the 
> data).
>
> Specifically, there seems to be an issue with widths and placement of
> divs, almost as though the CSS isn't being processed correctly. Again,
> pointing a browser directly to each web server works, and about 25% of
> the time, the HTML renders correctly through the LB.
>
> Any ideas?
>
> -Matthew D
>

--
Enviado desde mi dispositivo móvil

Load balancer distribution - Open Source Project http://www.zenloadbalancer.com 
Distribution list (subscribe): 
[email protected]<mailto:[email protected]>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Zenloadbalancer-support mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Zenloadbalancer-support mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support



--
Load balancer distribution - Open Source Project
http://www.zenloadbalancer.com
Distribution list (subscribe): 
[email protected]<mailto:[email protected]>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Zenloadbalancer-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

Reply via email to