LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 03-02-2008, 01:40 PM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 133,206

Rep: Reputation: 118Reputation: 118
LXer: Setting Up A High-Availability Load Balancer With HAProxy/Heartbeat On Fedora 8


Published at LXer:

This document describes how to set up a two-node load balancer in an active/passive configuration with HAProxy and heartbeat on Fedora 8. The load balancer acts between the user and two (or more) Apache web servers that hold the same content. The load balancer passes the requests to the web servers and it also checks their health. If one of them is down, all requests will automatically be redirected to the remaining web server(s). In addition to that, the two load balancer nodes monitor each other using heartbeat. If the master fails, the slave becomes the master - users will not notice any disruption of the service. HAProxy is session-aware - you can use it with any web application that makes use of sessions like forums, shopping carts, etc.

Read More...
 
Old 03-10-2008, 08:29 AM   #2
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Rep: Reputation: 30
nice one i have quick query

everything went through smooth, now the ha is working fine, only thing is, from my public ip to 192.168.0.120 i had nat'd the traffic (192.168.0.120 eth1:0) is a virtual ip here, then i changed the existing route entry as eth1:0, fantastic,it worked fine, btw i havent used the lb
mypublic ip
202.142.xx.xxx (Pip)
|
V
192.168.0.120 (VIP)
|
V
___________________
| |
192.168.0.112 192.168.0.113
ws1 ws2

query is everytime do i need to add this route if heartbeat takes up the ownership from one machine to another?

else is there anyways to add into scripts and let it make it on its own?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Heartbeat(High Availability) mahabooba Linux - Networking 2 05-25-2010 02:23 PM
LXer: Setting Up A High-Availability Load Balancer (With Failover and Session Support LXer Syndicated Linux News 0 11-07-2007 11:00 PM
LXer: Setting Up A High-Availability Load Balancer (With Failover and Session Support LXer Syndicated Linux News 0 10-29-2007 09:20 AM
High availability Samba cluster DRBD + Heartbeat djalex Linux - Networking 3 09-05-2006 02:14 PM
Need Info for setting up high availability network Viper Linux - Software 4 08-26-2003 10:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 09:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration