Find the answer to your Linux question:
Results 1 to 4 of 4
I'm new to Linux, but I do have some experience with web servers on my Windows XP Home computer. I've ordered four 350mhz Dell computers from eBay to use as ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    2

    Linux Web Server Load Balancing and Failover


    I'm new to Linux, but I do have some experience with web servers on my Windows XP Home computer. I've ordered four 350mhz Dell computers from eBay to use as Linux web servers (in a cluster or cluster like setup). Here's what I'd like to do:

    1. Configure load balancing on the web servers (without having to buy more equipment, I've heard that this may be possible with iptables but I'm not sure).
    2. Configure failover, so that if one server goes down, it's detected, and browser's requests are directed to the other working servers.
    3. Configure mirrored content so that the 3-4 servers grab content from another web server every 10 seconds.

    Of course, since I'm new to Linux, I'd opt for the easiest and most efficient solution. Thanks in advance for your help.

  2. #2
    Just Joined!
    Join Date
    Apr 2005
    Posts
    88

    WebServers

    Greetings,

    a.) I dont know how to do with IPTables but you can do it by integreting the backhand module for apache. You can get the more information and how to do it on the following link: http://www.backhand.org/mod_backhand/

    b.) You can check the failover by installing the heartbeat on the servers so that they continously keep on pinging each other and when ever one goes down the load is shifted to the other.

    c.) For mirroring you can configure the rsync as it keeps everything in sync once being configured.

    Regards

  3. #3
    Just Joined!
    Join Date
    May 2005
    Posts
    2
    Can heartbeat tell the Apache module not to forward requests to a certain machine if it goes down?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Apr 2005
    Posts
    88
    Greetings,

    AFAIK the HeartBeat won't be able to apache module do not forward the request which is down. You need to configure the same in the apache module istelf the hearbeat will make sure that the two systems are alive.

    Regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •