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 - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|