Os vídeos e posts do Network NUTS são excelentes, já sou fã desses caras. Segue um vídeo interessante sobre Load Balancing.
Take this - I have more than one APACHE server. I I want to have load balancing between my apache servers. So whenever a HTTP/HTTPS request comes in, the request should be forwarded to all apache servers in a distributed manner. And also I want to hide my apache server IP from Internet and Intranet.
How to do this?
Welcome - POUND.
1. Pound is a reverse proxy load balancing server.
2. It takes the request from HTTP/HTTPS clients and distribute them to one or more web servers.
3. It can detect when the backend server (actual apache server) fails / recovered and take decision accordingly.
4. Priority can be set. Default is 5. Range is 1 - 9.
5. Higher priority servers are used more.
Consider this picture:
Here I want my Pound Gateway running on 172.24.0.254 should distribute the HTTP/HTTPS requests to two hidden APACHE servers running on 172.24.0.10 and 172.24.0.11 and further I want more requests to be catered by 172.24.0.10 as it is having a better hardware as compared to 172.24.0.11.
STEP #1 - Install Pound on 172.24.0.254 - You can easily download "pound" from Internet.
STEP #2 - Configure the main configuration file for pound "/etc/pound.cfg", as shown:
STEP #3 - After the configuration is done, just restart the "pound" service.
Enjoy.
God Bless.
by alok on Mon Apr 05, 2010 11:36 am
fonte: http://networknuts.net/forum/viewtopic.php?f=3&t=256&sid=e0fbdbf9c21050d0392192c987e7b6d9
Nenhum comentário:
Postar um comentário