LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 06: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: 668
Blog Entries: 7

Rep: Reputation: 31
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, 07: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, 08:30 AM   #3
niteen
Member
 
Registered: Mar 2013
Location: India
Distribution: Fedora
Posts: 55

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


All times are GMT -5. The time now is 08:17 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration