cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
421
Views
0
Helpful
1
Replies

CSS - How to equaly load balancing between servers

cjrchoi11
Level 1
Level 1

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,

1 Accepted Solution

Accepted Solutions

d.parks
Level 1
Level 1

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.

View solution in original post

1 Reply 1

d.parks
Level 1
Level 1

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: