Can you please post the outputs of this comands in the diretord. #ipvsadm -L -n
#ipvsadm -L --n --stats #ipvsadm -L -n --connection And if you use ab to test both servers at same time you get 150 on each ? []'sf.rique On Wed, Oct 27, 2010 at 10:50 AM, Anil Pillai <[email protected]> wrote: > Hi, > > I have a LVS/DR setup (ldirectord) with One Director and two Real Servers. > On Real Servers i have Apache Webserver running on port 8080. > Each Apache is capable of serving 150 TPS. > Now when i did load testing via Virtual IP, i am still getting same TPS > (150). > For load testing i have used apache benckmark (ab) tool. > As per my understanding via Load Balancer (VIP) TPS should increase and > should get around 300 TPS. > > Not sure where i am going wrong. Can anyone help me on this ? > > Below is the Setup Details: > > Director (Just acts as director only): > > 10.50.57.55 -> Virtual IP > 10.50.57.45 -> Physical IP > > Real Server 1: > 10.50.57.22 -> Physical IP on eth0 > lo:0 Link encap:Local Loopback > > inet addr:10.50.57.55 Mask:255.255.255.255 > > UP LOOPBACK RUNNING MTU:16436 Metric:1 > > Real Server 2: > 10.50.57.23 -> Physical IP on eth0 > lo:0 Link encap:Local Loopback > > inet addr:10.50.57.55 Mask:255.255.255.255 > > UP LOOPBACK RUNNING MTU:16436 Metric:1 > > # Global Directives > checktimeout=3 > checkinterval=6 > autoreload=yes > logfile="/var/log/ldirectord.log" > quiescent=yes > # HTTP services > virtual=10.50.57.55:8080 > service=http > scheduler=rr > protocol=tcp > checktype=negotiate > real=10.50.57.22:8080 > real=10.50.57.23:8080 > request="test/lvs.html" > receive="Test Page" > > > Added Below line in sysctl.conf on Real Servers: > net.ipv4.conf.lo.arp_ignore = 1 > net.ipv4.conf.lo.arp_announce = 2 > net.ipv4.conf.all.arp_ignore = 1 > net.ipv4.conf.all.arp_announce = 2 > > > Regards, > _______________________________________________ > Please read the documentation before posting - it's available at: > http://www.linuxvirtualserver.org/ > > LinuxVirtualServer.org mailing list - [email protected] > Send requests to [email protected] > or go to http://lists.graemef.net/mailman/listinfo/lvs-users > _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - [email protected] Send requests to [email protected] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
