Hello all, I'm testing apache load balancer Debian etch based on the howtoforge tutorials. I have several questions here... 1. I'm using only 2 pcs to test the load balancer. Is it possible? 2. I'm testing the load balancer on a LAN. Server 1 acts as the load balancer with DNS (bind) and http1.example.com and www.example.com. Server 2 acts as http2.example.com. Can anyone please tell me how should I install the phpBB forum to test the load balancer? I should install the phpBB forum to www.example.com instead of http1.example.com? 3. What are the things that I need to know in order to test the load balancer? 4. I'm unable to edit the worker setting as well. What's the problem here? Appreciate any kind advice...Thank you
I followed this url http://www.howtoforge.com/load_balancing_apache_mod_proxy_balancer please help...thanks
Yes. The load balancer listens on port 80 on one computer, so you can install another Apache (or other web server like lightppd) on the same machine, but it must listen on another port (e.g. 8080). I assume that www.example.com is the address of your load balancer. You must install phpBB on http1 (see my previous answer regarding the port) and http2.
Thanks for reply... However, I still have questions regarding the load balancer. Below are the things that I have done to test the load balancer:- 1) Setup a domain server in LAN. Add new virtual host - http1.example.com in the domain server as http1. Add new virtual host - http2.example.com in another pc as http2. Both hosts have server alias for www.example.com. 2) I've installed the phpBB with www.example.com/forums/ Here are my questions. 1) How did you install phpBB and what are the paths that you used in order to make it same as your tutorial? 2) Can you please show me how to redirect www.example.com as the default page for phpBB? 3) I'm not able to view the worker setting for http1 and http2. Please help... Thank you for you kind attention...
I have used the installation instructions that come with phpBB. Install it in the document root (or any subfolder) of your http1 / http2 vhosts. Do you mean you want to use www.example.com instead of www.example.com/forums/ ?
Yes, I want to use www.example.com as my phpBB forum page. Do you mean you follow the instructions in phpBB website? One more thing is that I'm not able to view the worker setting for my http1 and http2...Can you please tell me how to check? For the current moment, I'm able to get the load balancer working. However, can you please show me how to determine the one of my backend servers is down? Appreciate your help....