[lvs-users] LVS-DR on Xen Server loopback problem

Darren Alexander darrena at cavecreek.net
Mon Jun 18 03:13:28 BST 2012

I have a problem with LVS-DR and loopback interfaces.


I have three xen servers each with a Centos 6.2 VM running apache for the real servers.  On xenserver01 I have a Centos 6.2 vm that is the primary load balancer.  On xenserver02 there is a Centos 6.2 vm that is the backup load balancer.  I am running LVS in DR.  I have arp disabled on all the real servers using the arp_announce and arp_ignore parameters in /etc/sysctl.conf.  


I can do DR just fine using postrouting rules in iptables with no loopback interfaces configured for VIPs on real servers.  This works fine using name based virtual hosts.  My client requires ip based virtualhosts.  In order for apache to respond to requests on the VIP I need to configure loopback interfaces for each of my 26 VIPs.  When I configure the local loopback interfaces the VIPs stop responding and the ipvs table shows all connections as InActConn.  


I can connect to the loopback interface and port locally from the real server.  The loadbalancer can connect to the RIP and port.  I can connect to the RIPS directly from a browser.  


Is there a problem running IPVS on virtual machines?  


Thanks in advance for any advice.  I can provide much more detail about the environment if needed.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 474 bytes
Desc: not available
Url : http://lists.graemef.net/pipermail/lvs-users/attachments/20120618/61884001/attachment-0001.bin 

More information about the lvs-users mailing list