LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   server failover (https://www.linuxquestions.org/questions/linux-networking-3/server-failover-389682/)

eph 12-06-2005 01:31 AM

server failover
 
hi,

i'm setting up a backup server for apache and mysql. both of them are in the same machine.

my problem is how to direct the web traffic to the backup server when the primary server fails. the server is only inside a LAN.

and how do i synchronize data for the servers.

thanks

genlee 12-07-2005 07:07 AM

You can use something like heartbeat for the failover. It basicly works by having slaves ping the master server, if the master doesn't respond it then assumes the ip of the master until it responds again. You would need to setup some type of central storage for this to work correctly since it sounds like your sites serve dynamic content.


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