Forcing a round-robin

Unanswered Question
Aug 6th, 2007


real service 1:

real service 2:

user IP:

CSS ver 8.2

when user opens a web-browser connection to, he always gets attached to unless he closes the browser and opens a new one only then is the session directed to

How can I configure the content rule to force the user to when the user merely refreshes his browser with F5.

here's the content rule:

content EPL

add service a

add service b

vip address

protocol tcp

port 80



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Diego Vargas Mon, 08/06/2007 - 09:43

If this is a persistent HTTP connection, I think the reason for this behavior is that when you refresh your browser, you are just sending a new request within the already existing connection. When that connection was created the CSS assigned it to one of the servers and therefore every request within that connection will go to the same server.

When you close your browser, probably the connection is being RST, and when you open it again a new connection is being established and that is why you see it going to the other server.

This is the way HTTP works and I do not think that you can change this behavior on the CSS.

Hope it helps!!

aolabisi Mon, 08/06/2007 - 11:54

I manually turned off persistence with the "no persistence" cmd in the content rule. no dice.

is there a way to force a RST after each connection within the CSS?

Diego Vargas Mon, 08/06/2007 - 12:22

When you configure no persistence on the content rule, you are instructing the CSS to initiate a non-persistence connection in the backend (to the server).

You can configure the global command "persistence reset remap", so the CSS will RST and remap each request, however this configuration is used when you have many content rules with same VIP and different layer 5 configuration, so you could have different server farms for different URLs, and then you would like to have the CSS checking at every request and remap if a more specific content rule is matched.

I do not think that this configuration would change your behavior with a single persistent connection from the browser to the same rule, but you might want to give it a try.

Hope it helps!!

Gilles Dufour Tue, 08/07/2007 - 02:04

there is no way.

If the css detects that there is no reason to change [no different url that would match a different rule or no new cookie ...] it will keep the connection with the current server.

This is to achieve better performance which is the ultimate goal of a loadbalancer.

If you have to close a connection and reopen it for each request your performance drops.

If this is still what you want, you should modify your servers - not the CSS.

Configure the servers to do HTTP 1.0 and not HTTP 1.1 and you will have a new connection for every request.



This Discussion