yes it is helpful. I have also studied from some other webs and I made first try for load balancing server after googling and reading stuffs on internet. What I did in VBOX: Is this task completed??
-Web server 1: 192.168.1.109
-Web server 2: 192.168.1.179
-Load balancer Server: 192.168.1.111
Web server 1 & 2 just containing index.html in /var/www/html having contents server 1 and server 2 respectively. Load balancer Server containing following lines in httpd.conf at last:
# Security "technically we aren't blocking
# anyone but this the place to make those
Deny from none
Allow from all
# Load Balancer Settings
# We will be configuring a simple Round
# Robin style load balancer. This means
# that all webheads take an equal share of
# of the load.
ProxySet lbmethod=byrequests # may be bytraffic or bybusyness
# This tool is built into the mod_proxy_balancer
# module and will allow you to do some simple
# modifications to the balanced group via a gui
# web interface.
# I recommend locking this one down to your
# your office
Allow from all
# Point of Balance
# This setting will allow to explicitly name the
# the location in the site that we want to be
# balanced, in this example we will balance "/"
# or everything in the site.
ProxyPass /balancer-manager !
ProxyPass / balancer://mycluster/
When we write in browser "domain.com" it switches between these two web servers (server 1 and server 2) for every refresh. Is this task Ok? This work for all 3 algorithms bybusyness, byrequests and bybusyness. Is this all about load balancing in Apache server?