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

CSS Round Robin issue

firestartest
Level 1
Level 1

I have 2 servers being loadbalanced.

Basic config.

service telnet1

ip address 192.168.1.1

port 23

protocol tcp

active

service telnet2

ip address 192.168.1.2

port 23

protocol tcp

active

owner telnetservers

content telnet

add service telnet1

add service telnet2

vip address 10.1.1.1

protocol tcp

port 23

active

The weird problem is as follows:

Client A connects to VIP:

CSS balances to telnet1

Client A logs on

Client B connects to VIP

CSS balances to telnet2

Client B logs on

Client A initiates 2nd telnet to VIP

CSS balances to telnet1

Client A logs on

Client B initiates 2nd telnet to VIP

CSS balances to telnet2

Client B logs on

Now when more connections are initiated.

Client A initiates 3rd telnet to VIP

CSS balances to telnet1

Client A logs on

Client B initiates 3rd telnet to VIP

CSS balances to telnet1 again

Client B logs on

Even though sessions are still active the round robin starts failing.

After more connections, telnet2 gets hit twice before balancing to telnet1

I was under the impression that round robin worked as follows:

Server: Telnet1

Connection: 1 3 5 7 9

Server: Telnet2

Connection: 2 4 6 8 10

The CSS seems to do the following:

Server: Telnet1

Connection: 1 3 5 6 8

Server: Telnet2

Connection: 2 4 7 9 10

Any idea why this is happening?

1 Reply 1

Gilles Dufour
Cisco Employee
Cisco Employee

what kind of CSS ? 11500 or 11000 ?

It's important because one is modular and not the other and the roundrobin feature is applied differently depending on the platform.

Anyway, you should know that the algorithm has been designed to handle a large number of connections.

with very few connections like in your example, the result might not be even distribution between the servers. You may see a distribution like A B A B A A B A B B B A B A A ... but in the long term the distribution should be more or less even.

Regards,

Gilles.

Review Cisco Networking for a $25 gift card