[lvs-users] Got error when start real webserver during test time

Suchada Pakapongpan cooky_th at hotmail.com
Thu Nov 25 10:40:46 GMT 2010

Hi, Léon
Thanks for your reply. 
I think I configure it to periodically check every 2 minutes to all realservers already. when I start realserver, LVS table always auto adjust the weigth. My ldirectord.cf here
        real= gate
        real= gate
        real= gate
        receive="Test Page"
but I don't know why starting some real web server during http test, I always get 5xx error?
and how can I get away from this errors?
> From: leon at linux.nl
> To: lvs-users at linuxvirtualserver.org
> Date: Wed, 24 Nov 2010 16:47:57 +0100
> Subject: Re: [lvs-users] Got error when start real webserver during test time
> On Wed, 2010-11-24 at 12:17 +0000, Suchada Pakapongpan wrote:
> > Hi,
> > My LVS(using less connection used) has 3 real web servers. 
> > When all web servers are started first, then I send the http workload to the LVS. I always get 2xx http success status. It works OK. 
> > 
> > But when I start only one real web server before, then I send the http workload to this LVS for test. During the test I just start another 2 real web servers in LVS to serve that workload. Why I always get 5xx http status errors output?
> > Should I set something in LVS to support adding web server during the load testing and get away from 5xx errors?
> As Simon also said, it depends how you've setup LVS. For example, if you
> let the LVS table be managed by ldirectord, you can configure it in such
> a way that it periodically checks if the realserver is available and
> adjust the LVS table accordingly.
> Léon 		 	   		  

More information about the lvs-users mailing list