If I setup HAProxy as a load balancer for 3 OpenFire servers which are in a cluster:
How does HAProxy know which OpenFire server has more users on it so that it can start sending login requests to the other servers? Does it simply look at CPU usage values (How busy the CPU is) instead of how many users each server is actually handling at any given moment?
Thank you
Joe Cosmides | Information Technology Director | Joe@Avatel.us<mailto:Joe@Avatel.us>
Phone: 813-314-2123 | Fax: 813-699-1964 | www.avatel.ushttp://www.avatel.us/
[cid:image008.png@01D05D6A.16938EB0] [https://de890d560f9c16061c70a7250d678e3746fc316b.googledrive.com/host/0B--N5ngFnhfhdDJkZlNuSnRuTHM/linkedin.png] https://www.linkedin.com/company/avatel-technologies [https://de890d560f9c16061c70a7250d678e3746fc316b.googledrive.com/host/0B--N5ngFnhfhdDJkZlNuSnRuTHM/twitter.png] https://twitter.com/AvatelTweets [https://de890d560f9c16061c70a7250d678e3746fc316b.googledrive.com/host/0B--N5ngFnhfhdDJkZlNuSnRuTHM/facebook.png] https://www.facebook.com/pages/Avatel-Technologies/156191064419?ref=hl [https://de890d560f9c16061c70a7250d678e3746fc316b.googledrive.com/host/0B--N5ngFnhfhdDJkZlNuSnRuTHM/wordpress.png] https://avatel.wordpress.com/
How does HAProxy know which OpenFire server has more users on it so that it can start sending login requests to the other servers? Does it simply look at CPU usage values (How busy the CPU is) instead of how many users each server is actually handling at any given moment?
Thank you
Joe Cosmides | Information Technology Director | Joe@Avatel.us<mailto:Joe@Avatel.us>
Phone: 813-314-2123 | Fax: 813-699-1964 | www.avatel.ushttp://www.avatel.us/
[cid:image008.png@01D05D6A.16938EB0] [https://de890d560f9c16061c70a7250d678e3746fc316b.googledrive.com/host/0B--N5ngFnhfhdDJkZlNuSnRuTHM/linkedin.png] https://www.linkedin.com/company/avatel-technologies [https://de890d560f9c16061c70a7250d678e3746fc316b.googledrive.com/host/0B--N5ngFnhfhdDJkZlNuSnRuTHM/twitter.png] https://twitter.com/AvatelTweets [https://de890d560f9c16061c70a7250d678e3746fc316b.googledrive.com/host/0B--N5ngFnhfhdDJkZlNuSnRuTHM/facebook.png] https://www.facebook.com/pages/Avatel-Technologies/156191064419?ref=hl [https://de890d560f9c16061c70a7250d678e3746fc316b.googledrive.com/host/0B--N5ngFnhfhdDJkZlNuSnRuTHM/wordpress.png] https://avatel.wordpress.com/