cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
531
Views
5
Helpful
1
Replies

CSM persistent function

yueric
Level 1
Level 1

I'm confused with "persistent" and sticky.Can I only use enable persistent feature to stick client's connection to a particular server?

1 Accepted Solution

Accepted Solutions

Gilles Dufour
Cisco Employee
Cisco Employee

persistent is only for http1.1 traffic where inside a single TCP connection a client can send multiple GET.

If you need to loadbalance each GET separately, you need the command 'persistent rebalance'.

Otherwise, the first GET will determin the server and all subsequent GET in this same TCP connection will go to the same server.

Stickyness is for multiple TCP connections.

If you want to guarantee that each new tcp connection goes to the same server, you need some sort of stickyness - like sticky source ip.

If you configure stickyness it usually means you want all connections/GET to go to the same server, so you would not configure 'persistent rebalance' and sticky at the same time.

Regards,

Gilles.

View solution in original post

1 Reply 1

Gilles Dufour
Cisco Employee
Cisco Employee

persistent is only for http1.1 traffic where inside a single TCP connection a client can send multiple GET.

If you need to loadbalance each GET separately, you need the command 'persistent rebalance'.

Otherwise, the first GET will determin the server and all subsequent GET in this same TCP connection will go to the same server.

Stickyness is for multiple TCP connections.

If you want to guarantee that each new tcp connection goes to the same server, you need some sort of stickyness - like sticky source ip.

If you configure stickyness it usually means you want all connections/GET to go to the same server, so you would not configure 'persistent rebalance' and sticky at the same time.

Regards,

Gilles.

Review Cisco Networking for a $25 gift card