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

[Linux-cluster] IPVS on 2 servers running the HA services?



hi,

I am running ipvs on a single node with ipvs configured to load
balance to 2 backend servers (mysql). I remember having issues load
balancing to the server that HA is running on, due to the IP address
being local. ipvs was configured using ldirector, with the real
servers using the "gate" redirect method.

Is it possible to run heartbeat + ipvs + apache on 2 nodes though?
Perhaps using masq method?

e.g.

server1: ip 192.168.0.1 + heartbeat + primary HA ip 192.168.0.10 + apache
server2: ip 192.168.0.2 + heartbeat + secondary for HA IP + apache

ipvs / ldirector to then direct incoming http requests on 192.168.0.10
to .1 and .2 using masq - would that load balance requests between the
servers, or would all requests come in to primary and be served by
primary?

Regards,
Brett


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