IPVS on 2 servers running the HA services?

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

 



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

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux