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

ACE issue with different servers

HWangLoyalty_2
Level 1
Level 1

we are using ACE4710 to load balanced traffics accessed the our mainpage: www.lplan.com.As there are different APPs running on four real servers(APP1,2,3,4), we configured class-map based on folder such as /cwon/....etc.BTW, sticky session is set up for them.

Also there is a specific APP named as connect running on another server (APP8).Firstly , it could be accessed through our mainpage such as

www.lplan.com/connect/ .So I had to create a class-map for it. Currently it works properly. Secondly, this app will be called with the link www.lplan.com/cwon/connect when user access www.lplan.com/cwon/ .But when the app is implemented completely, I tried to click other buttons in the page (www.lplan.com/cwon/). We got 404 issue in the page. Somehow load balancers still think the session should be in APP8. It tried to find these pages on APP8 rather than on APP1,2,3,4. but the issue is inconsistent.Sometimes it is working especially I could get through when we wait for 10-15 seconds. Any sessions timeout settings between two servers?? please see the following configurations:

serverfarm host CWON
  description CWON Board on port 8025
  rserver APP1 8025
    inservice
  rserver APP2 8025
    inservice
  rserver APP3 8025
    inservice
  rserver APP4 8025
    inservice
serverfarm host CONNECT
   rserver APP8 8080
    inservice
sticky ip-netmask 255.255.255.0 address source CWON_STICKY
  timeout 21
  replicate sticky
  serverfarm CWON

class-map type http loadbalance match-all CWON
  2 match http url /cwon.*

class-map type http loadbalance match-all CONNECT
  2 match http url /connect.*
class-map match-all www.lplan.com
  2 match virtual-address 10.25.34.1 tcp eq www


policy-map type loadbalance first-match www.lplan.com_map
class CWON
    sticky-serverfarm CWON_STICKY

class CONNECT
    serverfarm CONNECT
policy-map multi-match global
class www.lplan.com
    loadbalance vip inservice
    loadbalance policy www.lplan.com_map
    loadbalance vip icmp-reply active
service-policy input global

I will appreciate it if you could give me any ideas.

1 Reply 1

Jorge Bejarano
Level 4
Level 4

Hey, How are you?

Mmm look this.

You have 2 different class-map which might be overlapping between.

class-map type http loadbalance match-all CWON
  2 match http url /cwon.* --------> here you are saying: " I would like to match/cwon but also you are saying I would like to match /cwon and everything behind that including: /cwon/connect then the ACE will be matching everything

class-map type http loadbalance match-all CONNECT

  2 match http url /connect.*

In some way that part of the configuration might be causing the situation I would say...