[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hardware failover webserver cluster



Le 27/03/2014 18:21, Denis Witt a écrit :
On Thu, 27 Mar 2014 16:47:15 +0100
basti <black.fledermaus@arcor.de> wrote:

perhaps that's a bit off topic here but can someone explain what I
need to build a hardware failover nginx cluster?
I a nutshell:

   * (at least) two Servers
   * a monitoring software
   * a shared IP
   * something that will switch the shared IP in case of failures

One way is to use Corosync and Pacemaker. They will bring so called
Ressource Agents who are capable of monitoring your nginx-Daemon and
your network connection. If the daemon fails, or your network
connections seems to be shaky (or gone) the Shared-IP (Service-IP) will
be transfered from one Server to the other. Before that all needed
services will be started if they wasn't running before.

So take a look at Corosync/Pacemaker.

[...]

A lighter way, and faster failover is keepalived.
Bonus point, it's made to manage LVS (Linux Virtual Server) to do load balancing.


Reply to: