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 ?
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 ;-)
i think the option would be keepalive.
|All times are GMT -5. The time now is 01:52 PM.|