cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4531
Views
0
Helpful
12
Replies

HTTP-Cookie sticky not working.

grichardson661
Level 1
Level 1

Hey,

I have a requirement to load balance OWA 2010 inbound connectivity to 2 CAS servers using a ACE 4710 with sticky sessions enabled.

The CAS servers are currently responding on 80 or 443 at this moment in time. Eventually I want to off load the SSL to the ACE 4710, its currently running on the CAS servers. I need to enable sticky sessions to keep the session to the same CAS server for each internet based connection. I also have a proxy enabled for inbound connectivity so I cannot use source IP.

Here is my configuration but it doesn’t seem to be working, i am currently testing with port 80 connections not SSL. Anyone any ideas? Cheers!

serverfarm host INHOUSE-EXCHANGE-OWA-vFARM

predictor response app-req-to-resp samples 4

probe 443

probe HTTP-PROBE

rserver INHOUSE-TEST-CAS01-SVR

   inservice

rserver INHOUSE -TEST-CAS02-SVR

   inservice

!

sticky http-cookie SessionID INHOUSE-EXCHANGE-OWA-vFARM-STICKY

cookie insert

serverfarm INHOUSE-EXCHANGE-OWA-vFARM

!

class-map match-all INHOUSE-EXCHANGE-OWA-CLASS-MAP-443

2 match virtual-address 192.158.100.100 tcp eq https

class-map match-all INHOUSE-EXCHANGE-OWA-CLASS-MAP-80

2 match virtual-address 192.158.100.100 tcp eq www

!

policy-map type loadbalance http first-match INHOUSE-EXCHANGE-OWA-POLICY

class class-default

   sticky-serverfarm INHOUSE-EXCHANGE-OWA-vFARM-STICKY

!

policy-map multi-match VIP-POLICY

   class INHOUSE-EXCHANGE-OWA-CLASS-MAP-443

   loadbalance vip inservice

   loadbalance policy INHOUSE-EXCHANGE-OWA-POLICY

   loadbalance vip icmp-reply

class INHOUSE-EXCHANGE-OWA-CLASS-MAP-80

   loadbalance vip inservice

   loadbalance policy INHOUSE-EXCHANGE-OWA-POLICY

   loadbalance vip icmp-reply

!

2 Accepted Solutions

Accepted Solutions

Cesar Roque
Level 4
Level 4

Hi,

Try to configure a L7 class-map, something like this:

policy-map type loadbalance http first-match INHOUSE-EXCHANGE-OWA-POLICY

  class L7

    sticky-serverfarm INHOUSE-EXCHANGE-OWA-vFARM-STICKY

class-map type http loadbalance match-all L7

   match http url .*

Cesar R

--------------------- Cesar R ANS Team

View solution in original post