Site Administration Page 3 - Configuring Load-Balanced Clusters |
We’ll also check the system logs on lb: # tail /var/log/syslog Back on web1 and web2, check the Apache access logs. The director should demand director.html everycheckintervalseconds: 70.253.158.44 - - [11/Sep/2006:22:49:37 -0500] "GET /director.html HTTP/1.1" In your browser, go to the virtual site URL http://70.253.158.42/which.html, and you should see either: I'm web1 or: I'm web2 If the load balancer is broken or one of the web servers is down, you might always get a response from the same web server. Now, stop Apache on web1: # /etc/init.d/apache stop Reload/refresh your browser page to access http://70.253.158.42/which.html again. You should always get the response: I'm web2
blog comments powered by Disqus |