LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] Multiple Services Load-Balancing

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] Multiple Services Load-Balancing
From: <Darren.Mansell@xxxxxxxxxxxx>
Date: Wed, 2 Sep 2009 16:30:37 +0100
Hello everyone. Not sure if this is the right place to ask this, if not
please point me in the right direction.

 

I'm load-balancing 2 nodes using Pacemaker/OpenAIS (Linux-HA V2 ish)
with ldirectord/LVS.

 

My setup follows the vast majority of the howto's on the net; use an
IPaddr2 resource with an ldirectord resource, add the virtual IP to the
loopback devices on both nodes and collocate the ldirectord and VIP
together so they run on one node, sending requests to the other node on
the loopback device.

 

This has worked fine so far but now I need to run multiple web servers
on the cluster which involves allowing the web server to bind to
127.0.0.1:80. Of course this means I can only run one web server per
cluster on port 80.

 

As the requirement for LVS is that the receiving node will accept
traffic but not respond to ARP on the virtual IP can I get around this
by adding multiple loopback devices?

 

Many thanks

Darren Mansell

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>