|
|
 |  |
Re: Load balancingFrom: Men & Mice Support Date: Monday, December 13, 1999
Time: 2:38:00 amAt 4:18 PM +0100 12/11/99, Jona Tallieu (T & T n.v.) wrote:
>I don't know if this is the "on topic" on this list, bit I've heard a
>lot about load balancing on this list, so...
>
>my question:
>
>We've got a main webserver running web*4.1. Sometimes
>(for a yeat unknow reason) Filemaker crashes the machine
>(G4/400).
>What I would like is that, if the main server is down, a backup
>server just displays a message for all the domains I host
>saying: "we are upgrading our system, please come back
>in a couple of hours".
>
>Is this possible with load balancing? Problem is probably that
>the load balancing can only kick in if the main server is completely
>down, because the second server does not have the sites and files
>that the main server has...
The system isn't really designed to do this. You can fake it, though, as follows:
o Set up load balancing as if both servers were main servers, but with fixed preferences that send most traffic to the real main server. Of course, if one server goes down, the other picks up all the traffic.
o On the backup server, don't have any of the regular files (including default.html) - remove all the stuff WebSTAR comes with. Create a custom error page that is processed by a scripting tool such as WebSiphon. Your custom error page simply attempts to get the requested page off the main server (using HTTP protocol - the main server gets a duplicated hit); if it fails, it gives the "server being upgraded" message instead.
A visitor who hits the backup server gets slower performance, but not by much. You might be able to use some sort of global variable to limit the frequency of checks on the status of the main server if the main server is down. You might also be able to set up a ping test to determine if the main server is down. There's room for much elaboration and sophistication.
____________________________________________________________________
Chris Buxton cbuxton@menandmice.com
Men & Mice http://www.menandmice.com
Makers of: QuickDNS Pro
|
Messages In This Thread:- Load Balancing by Kirk Samuelson on Aug 18, 1999 at 7:55:00 am
- Load balancing by Jona Tallieu (T & T n.v.) on Dec 11, 1999 at 3:18:00 pm
- Load Balancing by Suzanne Swift on Dec 20, 1999 at 12:19:00 pm
- Load balancing by Suzanne Swift on May 8, 2001 at 5:40:49 pm
- Load Balancing by Simon Forster on Jul 23, 2001 at 3:57:59 am
- Load balancing by Ross Markbreiter on Aug 7, 2001 at 6:26:54 pm
- Load Balancing by Ross Markbreiter on Aug 29, 2001 at 12:44:32 pm
- Load balancing by Ross Markbreiter on Oct 16, 2001 at 2:19:09 pm
- Load Balancing by rob on Jan 28, 2002 at 4:14:49 pm
- Load Balancing by rob on Jan 29, 2002 at 4:29:17 pm
- Load Balancing by Bob Minor on Nov 15, 2002 at 3:27:45 pm
- Load Balancing by Bob Minor on Nov 16, 2002 at 3:25:55 pm
- load balancing by Guy Jones on Jul 16, 2004 at 3:08:47 pm
|

Return to Digital Point Solutions' Home Page |