12-05-2003 02:21 PM
Hi,
I have two servers and found that they are not equaly load balanced. for example, the traffic reports in sepcific time, server1=200Mbyte and server2=100Mbyte. I want to know why and how to fix. Please guide me based on the followed configuration.
.
content cnt-server
add service server1
add service server2
protocol tcp
port 80
balance aca
advanced-balance sticky-srcip
vip address x.x.x.x
Thanks,
Solved! Go to Solution.
12-05-2003 04:35 PM
There are a couple of items in your rule configuration that could cause more traffic to go to one server or the other.
1. balance aca
If the css sees faster response times from one server to the extent that various thresholds are surpassed, the css will weight that server higher and distribute load accordingly. Switching your balance algorithm to round robin would arbitrarily balance the load amongst the servers.
2. advanced-balance sticky-srcip
As you probably know, this will "stick" individual clients to one server or another based on the IP address that they source their traffic from. It could be that you have a client or client(s) that happen to be stuck to a particular server that generate a unusually large volume of traffic. Some likely suspects in the internet for this type of traffic are mega-proxys like AOL where thousands of users appear under just a few IP addresses.
If your site requires that users stick to an individual server once they connect, but you still want to equalize load, you could try configuring stickyness based on a server or CSS supplied cookie.
12-05-2003 04:35 PM
There are a couple of items in your rule configuration that could cause more traffic to go to one server or the other.
1. balance aca
If the css sees faster response times from one server to the extent that various thresholds are surpassed, the css will weight that server higher and distribute load accordingly. Switching your balance algorithm to round robin would arbitrarily balance the load amongst the servers.
2. advanced-balance sticky-srcip
As you probably know, this will "stick" individual clients to one server or another based on the IP address that they source their traffic from. It could be that you have a client or client(s) that happen to be stuck to a particular server that generate a unusually large volume of traffic. Some likely suspects in the internet for this type of traffic are mega-proxys like AOL where thousands of users appear under just a few IP addresses.
If your site requires that users stick to an individual server once they connect, but you still want to equalize load, you could try configuring stickyness based on a server or CSS supplied cookie.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide