03-02-2010 08:39 PM
I have ACE 4710, I have configured the load balancing for the Web Portal. But I am not able to configure the Stickness. Below is the configuation of load balancing.
rserver host ITSMWeb_1
description ITSMWeb-1
ip address 192.168.200.161
inservice
rserver host ITSMWeb_2
description ITSMWeb-2
ip address 192.168.200.162
inservice
serverfarm host SF_ITSM_Web_Server
probe ITSMWeb_PROBE_80
rserver ITSMWeb_1
inservice
rserver ITSMWeb_2
inservice
sticky ip-netmask 255.255.255.255 address source ITSM-STICKY
replicate sticky
serverfarm SF_ITSM_Web_Server
class-map match-any ITSM_Web_Server
2 match virtual-address 172.23.15.163 any
policy-map type loadbalance first-match PM_LB_ITSM_Web_Server
class class-default
serverfarm SF_ITSM_Web_Server
policy-map type loadbalance first-match PM_LB_ITSM_Web_Server
class class-default
serverfarm SF_ITSM_Web_Server
policy-map multi-match PM_ITSM_Web_Server
class ITSM_Web_Server
loadbalance vip inservice
loadbalance policy PM_LB_ITSM_Web_Server
loadbalance vip icmp-reply active
nat dynamic 3 vlan 300
interface vlan 300
description ACE-INSIDE CONTEXT RACK1
ip address 192.168.0.65 255.255.255.224
alias 192.168.0.73 255.255.255.224
peer ip address 192.168.0.66 255.255.255.224
no normalization
mac-address autogenerate
no icmp-guard
access-group input acl-in
nat-pool 1 172.23.16.2 172.23.16.2 netmask 255.255.255.255 pat
nat-pool 3 172.23.16.3 172.23.16.3 netmask 255.255.255.255 pat
nat-pool 4 172.23.16.4 172.23.16.4 netmask 255.255.255.255 pat
nat-pool 5 172.23.16.5 172.23.16.5 netmask 255.255.255.255 pat
service-policy input PM_ENOC_TP_Server
service-policy input PM_RT_FAX
service-policy input PM_ITSM_Web_Server
service-policy input PM_ITSM_MAPP_Server
service-policy input PM_BYPASS_FOR_LAN_HTTP
service-policy input PM_BYPASS_HTTP
service-policy input PM_MAIN_BCPROXY
no shutdown
I can do the remote desktop, ping, telnet on port 80 but not able to get the sticky in function. Due to this stickiness my authentication is not working.
Please let me know what I am missing.
03-02-2010 11:55 PM
Hi,
You've defined a sticky serverfarm, but you haven't created a policy that refers to it.
policy-map type loadbalance first-match PM_LB_ITSM_Web_Server
class class-default
serverfarm SF_ITSM_Web_Server
should read:
policy-map type loadbalance first-match PM_LB_ITSM_Web_Server
class class-default
sticky-serverfarm ITSM-STICKY
HTH
Cathy
04-29-2010 01:32 PM
My experience with load balancing ITSM has been that you have to use the JSESSIONID for stickiness.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide