Visit Jeremy's Blog.
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, 05: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, 06: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, 07: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 03:59 PM
How to monitor the cluster failover event matyu Linux - Enterprise 0 09-16-2009 05:48 PM
Linux servers to failover for redundancy mawk1000 Linux - Server 1 06-09-2008 10:13 AM
LXer: Linux automatically monitor and restart services when daemon is killed LXer Syndicated Linux News 0 11-25-2006 10:21 PM
Backup / Failover Solution with Colocated Servers benhalliday Linux - Software 1 05-25-2006 09:28 AM

All times are GMT -5. The time now is 02:39 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