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

Notices


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

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


Hi
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 ?

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

Rep: Reputation: 0
hi!

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
niteen
Member
 
Registered: Mar 2013
Location: India
Distribution: Fedora
Posts: 66

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


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 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 Quartiz.com 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:05 PM.

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