> let me know how the backend server are busy in too the admin > and how load balancing works?
I didn't understand the question, please clarify what exactly you are looking for. In short, LB algo can be set to the simple roundrobin, and you also provide a set of backends servers to be loadbalance'd in the configuration file. haproxy starts up, read the config file, and acts accordingly. All new connections are sent to the different backends in a roundrobin fashion, and assuming each connection does similar amount of work, the traffic get reasonably distributed among the servers. Thanks, - Krishna Kumar On Thu, May 7, 2015 at 11:28 AM, ANISH S IYER < [email protected]> wrote: > > ---------- Forwarded message ---------- > From: Krishna Kumar (Engineering) <[email protected]> > Date: Thu, May 7, 2015 at 11:21 AM > Subject: Re: HA Proxy > To: ANISH S IYER <[email protected]> > > > Please send mail to the full list, so that people can also respond and > confirm > what I am saying is right. I am also new to haproxy. Please cc all > > On Thu, May 7, 2015 at 11:20 AM, ANISH S IYER < > [email protected]> wrote: > >> hI >> >> Thanks for your replay >> >> let me know how the backend server are busy in too the admin >> and how load balancing works? >> i googled this did not find an correct result >> >> let me know more details >> >> regards >> >> anish >> >> On Thu, May 7, 2015 at 10:22 AM, Krishna Kumar (Engineering) < >> [email protected]> wrote: >> >>> On Thu, May 7, 2015 at 9:44 AM, ANISH S IYER < >>> [email protected]> wrote: >>> >>> 1) how ha proxy is know both of his front and backend server is waiting >>>> or busy.? >>>> >>> >>> I am not sure if I understood this right. Depending on the algo, the >>> backend is picked. >>> It should not care if the backend is ready or busy doing some work. The >>> new connection >>> will go to the selected backend (assuming maxconn for backend is not >>> full), and if that >>> backend is busy, the connection is queued at the backend. >>> >>> 2) when a new server is up how it can added to load balancing >>>> automatically. >>>> >>> >>> I think the correct way to add a new server is to update the >>> configuration file with the >>> server information, and run: /etc/init.d/haproxy reload >>> >>> I have seen that large I/O requests sometimes drop during this time (1 >>> in 20 or 30 times), but >>> more often than not, it works perfectly. >>> >>> - Krishna Kumar >>> >> >> > >

