Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-21-2013, 06:33 AM   #1
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 670
Blog Entries: 7

Rep: Reputation: 31
Daemon to monitor services on two servers and failover ?

I do have a simple setup where one server monitors two other servers and only sends traffic to the server where port 80 is up. I did check haproxy and it seems it sends to all servers and not to one server only which I choose to send traffic too while it is up.

I did checkout heartbeat and keepalived but those require a shared IP, something I cant provide since this is vps hosting.

Bascally I have server A which is supported to monitor servers x and y and always send traffic to server X unless it is down, in that case send to server y. Once X is backup send to X again.

Any comments please ?

Old 04-21-2013, 07:48 AM   #2
LQ Newbie
Registered: Oct 2010
Location: Gijon
Distribution: Ubuntu, CentOS
Posts: 3

Rep: Reputation: 0

heartbeat or pacemaker maybe won't help you, but maybe apache mod proxy can.
I'm not sure right now about http module, but I know mod proxy ajp has load balancing features, and you can configure a "hot backup"server.
that is a server that will be requested only if the primary falls -> fail over balancing, and you don't need the nodes to reside in the same network.

I'm doing something similar, so will be interesting to share experience and findings ;-)
Old 04-24-2013, 08:30 AM   #3
Registered: Mar 2013
Location: India
Distribution: Fedora
Posts: 61

Rep: Reputation: Disabled
i think the option would be keepalive.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Splitting DNS settings to multiple servers to reduce downtime during failover Linux - Server 1 11-30-2011 04:59 PM
How to monitor the cluster failover event matyu Linux - Enterprise 0 09-16-2009 06:48 PM
Linux servers to failover for redundancy mawk1000 Linux - Server 1 06-09-2008 11:13 AM
LXer: Linux automatically monitor and restart services when daemon is killed LXer Syndicated Linux News 0 11-25-2006 11:21 PM
Backup / Failover Solution with Colocated Servers benhalliday Linux - Software 1 05-25-2006 10:28 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:18 PM.

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