Sticky Based On A Configured String In An Http Cookie Header - Cisco CSS 11501 - Content Services Switch Getting Started Manual

11500 series content services switch
Table of Contents

Advertisement

Chapter 4
Configuring Sticky Cookies

Sticky Based on a Configured String in an HTTP Cookie Header

OL-6037-01
The following sections provide configuration information for:
Sticky Based on a Configured String in an HTTP Cookie
advance-balanced cookies command
Sticky Based on a Cookie in a
command
Sticky Based on a Cookie in the HTTP Header or
advance-balanced cookieurl command
For information on additional advanced load-balancing methods including
arrowpoint cookies, refer to the Cisco Content Services Switch Content
Load-Balancing Configuration Guide.
If the server returns a cookie that is static and uniquely identifies itself, use the
advanced-balance cookies command. This command enables the content rule to
stick a client to a server based on the configured string found in the HTTP cookie
header. A content rule with a sticky configuration set to advanced-balance
cookies requires all clients to enable cookies on their browser.
In the following configuration, the CSS looks for the cookie in the Cookie: field
of the HTTP header:
The CSS looks for the configured string prefix, which is the cookie name. In
1.
this example, the string prefix in the content rule is MyCookie=.
If the CSS finds the prefix, then it looks for the value that matches one of the
2.
string values configured in one of the services. For example, the string value
for service test 1 is server1. The CSS begins searching for the prefix and value
at the beginning of the cookie field in the header and searches the entire field
until the end of the field.
If the HTTP header spans multiple packets, the CSS searches up to 5 packets
by default; however, you can configure the CSS to search up to 20 packets
(refer to the global spanning-packets command for more details).
Advanced Load-Balancing Method Using Cookies
URL, using the advance-balanced url
Cisco Content Services Switch Getting Started Guide
Header, using the
URL, using the
4-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Css 11506Css 1150111503 - css content services switch

Table of Contents