Application Delivery (ADX)

Reply
Contributor
Posts: 49
Registered: ‎04-24-2009

How do I configure persistency using cookies set by the real servers?

I do not want to have the ServerIron doing cookie insert - I would like to set the cookies at the real servers itself. How does it work?

Super Contributor
Posts: 316
Registered: ‎05-01-2009

Re: How do I configure persistency using cookies set by the real servers?

Have a look at the following document talking about persistency using cookie which are getting inserted by the ServerIron:

and change the configuration to look like:

csw-rule "r1" header "cookie" search "ServerID="
!
csw-policy "p1"
    match "r1" persist offset 0 length 4 group-or-server-id
    default forward 1
!
server real rs18 10.45.4.18
    port http
    port http url "HEAD /"
    port http server-id 1218
    port http group-id 1 1
!
server real rs11 10.45.4.11
    port http
    port http url "HEAD /"
    port http server-id 1211
    port http group-id 1 1
!
server virtual vip1 10.45.4.245
    port http
    port http csw-policy "p1"
    port http csw
    bind http rs18 http rs11 http

The cookie insertion is not part of the configuration anymore. The ServerIron is still searching for a cookie with the name "ServerID" - you do need to ensure your real servers do set a cookie with the name "ServerID" and the real servers should use their server-id as value for this cookie.

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.