Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th March 2008, 08:57
neothe1 neothe1 is offline
Junior Member
 
Join Date: Mar 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to neothe1
Default Debian etch Apache load balancer question

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

Last edited by neothe1; 10th March 2008 at 09:06.
Reply With Quote
Sponsored Links
  #2  
Old 11th March 2008, 20:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

What tutorial (URL) are you using?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 12th March 2008, 05:15
neothe1 neothe1 is offline
Junior Member
 
Join Date: Mar 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to neothe1
Default

I followed this url

http://www.howtoforge.com/load_balan...proxy_balancer

please help...thanks
Reply With Quote
  #4  
Old 13th March 2008, 17:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by neothe1
1. I'm using only 2 pcs to test the load balancer. Is it possible?
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).


Quote:
Originally Posted by neothe1
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?
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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 15th March 2008, 06:03
neothe1 neothe1 is offline
Junior Member
 
Join Date: Mar 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to neothe1
Default

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...

Last edited by neothe1; 15th March 2008 at 08:45.
Reply With Quote
  #6  
Old 16th March 2008, 14:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by neothe1
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?
I have used the installation instructions that come with phpBB. Install it in the document root (or any subfolder) of your http1 / http2 vhosts.

Quote:
Originally Posted by neothe1
2) Can you please show me how to redirect www.example.com as the default page for phpBB?
Do you mean you want to use www.example.com instead of www.example.com/forums/ ?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 17th March 2008, 02:41
neothe1 neothe1 is offline
Junior Member
 
Join Date: Mar 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to neothe1
 
Default

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....
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on Virtual Users And Domains With Postfix, Courier And MySQL (Debian Etch) Horizon HOWTO-Related Questions 12 26th February 2008 20:22
Requesting explanation of config files in /etc/apache2 (Debian Etch, Apache 2.2.3) rjamesd Server Operation 2 24th August 2007 13:16
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 09:20.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.