Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th January 2009, 09:24
chillifire chillifire is offline
HowtoForge Supporter
 
Join Date: Oct 2007
Posts: 75
Thanks: 3
Thanked 3 Times in 3 Posts
Default Which HA/Fail-over solution to take?

Hi there,

I have seen many HA/Fail-Over configuration solutions in this forum, all for Debian/Ubuntu distributions. Here a few examples:

-Setting Up A High-Availability Load Balancer (With Failover and Session Support) With HAProxy/Heartbeat On Debian Etch
-Setting Up A High-Availability Load Balancer (With Failover and Session Support) With Pound/Keepalived On Debian Etch
-Setting Up A High-Availability Load Balancer (With Failover and Session Support) With HAProxy/Keepalived On Debian Etch
-How To Set Up A Loadbalanced High-Availability Apache Cluster (using Ultra Monkey - Debain and Ubuntu versions available)

That's great. But which one to take? On face value they all seem to do the same, but I am sure they are all subtly different. And I am sure different solutions are the right ones in different circumstances, depending on individual requirements. Essentially what I am seeking is some guidance for what might be the best solution for my circumstances.

What am I trying to achieve?
I have a number of third party hosted Ubuntu VPS servers with ISPConfig running, which run mainly Apache webserver, mysql and freeradius. The mysql servers are connected with master-master replication, the freeradius servers are using them in a failover/balance setup (configured in freeradius).

I want to:
- loadbalance and fail-over enable my apache web servers
- have a centralised and joint weblog to achieve common awstats statistics accross loadbalance loadservers
- loadbalance and fail-over enable my freeradius servers
- I want the option to have the loadbalancer and the webservers to run on the same server
- I want to be able to easily manipulate the loadbalance distribution (does not have to be necessarily be even) or even take servers out of the game, so they can stand in as testservers, ie.e during upgrades.
- The webserver loadbalancing has to be session aware (freeradius should be ok without)

Of all the suggested solutions, which one do you recommend to be the most suitable for me?

Any thoughts and advice welcome.

PS: What would you recommend to keep the webservers in sync
Reply With Quote
Sponsored Links
  #2  
Old 10th January 2009, 12:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by chillifire View Post
-How To Set Up A Loadbalanced High-Availability Apache Cluster (using Ultra Monkey - Debain and Ubuntu versions available)
AFAIK, Ultramonkey exists only for Sarge, but not for Etch, so this tutorial is out.

Quote:
Originally Posted by chillifire View Post

-Setting Up A High-Availability Load Balancer (With Failover and Session Support) With HAProxy/Heartbeat On Debian Etch
-Setting Up A High-Availability Load Balancer (With Failover and Session Support) With Pound/Keepalived On Debian Etch
-Setting Up A High-Availability Load Balancer (With Failover and Session Support) With HAProxy/Keepalived On Debian Etch
These do all the same, in fact it doesn't matter which one you use. In the end it comes down to what works in your network. For example, we are using HAProxy with heartbeat for HowtoForge, but only because the keepalived tutorial doesn't work in our subnet (our provider seems to block the keepalived messages, whereas heartbeat is able to communicate fine).


Quote:
Originally Posted by chillifire View Post

PS: What would you recommend to keep the webservers in sync
For files and directories, I'd use rsync: http://www.howtoforge.com/mirroring_with_rsync
__________________
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
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
Printer Solution namistephen Installation/Configuration 0 4th December 2008 17:34
Need local linux mailing server solution..? mikedevidh Server Operation 1 19th August 2008 11:57
Backup Solution for Windows hoihtah Suggest HOWTO 1 5th February 2008 17:50
Best solution for my web server? iRock292 HOWTO-Related Questions 3 9th October 2007 23:06
Build VPS for hosting solution stanley General 2 28th December 2005 11:06


All times are GMT +2. The time now is 19:28.


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