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

Cisco ACE Server load balacing not working

Hi All,

 

I have facing issue in cisco ace server load balancing and configured as per the standard procedure but still load balancing is not working and web res host is also not working . kindly check the below configuration for reference.

 

Configuration:-


access-list ALL line 10 extended permit ip any any


probe http ACEPRB-http
port 8000
interval 30
passdetect interval 10
request method head
expect status 200 202


probe http ACEPRB-http2
port 8000
interval 30
passdetect interval 10
request method head
expect status 200 202


rserver redirect REDIRECT-TO-XYZ
webhost-redirection http://XYZ.org:8000 301
inservice
rserver host SERVER1
description PRODUCTION_APPLICATION_SERVER1
ip address 172.17.36.153
inservice
rserver host SERVER2
description PRODUCTION_APPLICATION_SERVER2
ip address 172.17.36.154
inservice
rserver host SERVER3
description QA_APPLICATION_SERVER1
ip address 172.17.36.162
inservice
rserver host SERVER4
description QA_APPLICATION_SERVER2
ip address 172.17.36.163
inservice

serverfarm redirect REDIRECT-SERVERFARM
rserver REDIRECT-TO-XYZ
inservice
serverfarm host SFARM1
description PRODUCTION APPLICATION SERVER FARM
probe ACEPRB-http
probe ACEPRB-http2
rserver SERVER1 8000
inservice
rserver SERVER2 8000
inservice
serverfarm host SFARM2
description QA APPLICATION SERVER FARM
probe ACEPRB-http2
rserver SERVER3 8000
inservice
rserver SERVER4 8000
inservice

sticky http-cookie ace-1 cookie-insert
cookie insert browser-expire
serverfarm SFARM2
sticky http-cookie ace cookie-insert-1
cookie insert browser-expire
serverfarm SFARM1

action-list type modify http XYZintra_to_XYZ
url rewrite "XYZintra.org" replace "XYZ.org"

class-map match-all L4_VIP_ADDRESS_CLASS
2 match virtual-address 172.17.36.99 any
class-map match-all L4_VIP_ADDRESS_CLASS2
2 match virtual-address 172.17.36.98 any
class-map match-all L4_VIP_REDIRECT_XYZintra
2 match virtual-address 172.17.36.169 tcp eq www
class-map type management match-any REMOTE_ACCESS
description Remote Access Traffic Match
2 match protocol telnet any
3 match protocol icmp any
4 match protocol ssh any
5 match protocol https any
6 match protocol http any
7 match protocol snmp any

policy-map type management first-match REMOTE_MGMT_ALLOW_POLICY
class REMOTE_ACCESS
permit

policy-map type loadbalance first-match L7_VIP_LB_ORDER_POLICY
class class-default
sticky-serverfarm cookie-insert-1
policy-map type loadbalance first-match L7_VIP_LB_ORDER_POLICY2
class class-default
sticky-serverfarm cookie-insert
insert-http x-forward header-value "%is"
policy-map type loadbalance first-match REDIRECT-PM
class class-default
serverfarm REDIRECT-SERVERFARM

policy-map multi-match L4_LB_VIP_POLICY
class L4_VIP_ADDRESS_CLASS
loadbalance vip inservice
loadbalance policy L7_VIP_LB_ORDER_POLICY
loadbalance vip icmp-reply
policy-map multi-match L4_LB_VIP_POLICY2
class L4_VIP_ADDRESS_CLASS2
loadbalance vip inservice
loadbalance policy L7_VIP_LB_ORDER_POLICY2
loadbalance vip icmp-reply active
loadbalance vip advertise active
nat dynamic 1 vlan 40
class L4_VIP_REDIRECT_XYZintra
loadbalance vip inservice
loadbalance policy REDIRECT-PM
loadbalance vip icmp-reply
loadbalance vip advertise

 

Thanks.

Everyone's tags (1)
1 REPLY 1
Highlighted
Beginner

Re: Cisco ACE Server load balacing not working

Hi All,

My one vip state is inservice and another is showing outofservice but my confifuration is same as above then what will be the issue.kindly help me on this and check the below policy-map output.

Output:-
Policy-map : L4_LB_VIP_POLICY2
Status : ACTIVE
Description: -----------------------------------------
Interface: vlan 40 41
service-policy: L4_LB_VIP_POLICY2
class: L4_VIP_ADDRESS_CLASS2
nat:
nat dynamic 1 vlan 40
curr conns : 0 , hit count : 0
dropped conns : 0
client pkt count : 0 , client byte count: 0
server pkt count : 0 , server byte count: 0
conn-rate-limit : 0 , drop-count : 0
bandwidth-rate-limit : 0 , drop-count : 0
VIP Address: Protocol: Port:
172.17.36.98 any
loadbalance:
L7 loadbalance policy: L7_VIP_LB_ORDER_POLICY2
Regex dnld status : SUCCESSFUL
Rgx comp success cnt : 2
Last Regex comp success : Sun May 12 05:43:50 2019
Rgx comp timeout cnt : 0
Rgx comp failed cnt : 0
VIP Route Metric : 77
VIP Route Advertise : ENABLED-WHEN-ACTIVE
VIP ICMP Reply : ENABLED-WHEN-ACTIVE
VIP state: OUTOFSERVICE
VIP DWS state: DWS_DISABLED
Persistence Rebalance: ENABLED
curr conns : 0 , hit count : 0
dropped conns : 0
conns per second : 0
client pkt count : 0 , client byte count: 0
server pkt count : 0 , server byte count: 0
conn-rate-limit : 0 , drop-count : 0
bandwidth-rate-limit : 0 , drop-count : 0
L7 Loadbalance policy : L7_VIP_LB_ORDER_POLICY2
class/match : class-default
LB action: :
sticky group: cookie-insert
primary serverfarm: SFARM2
state:DOWN
backup serverfarm : -
hit count : 0
dropped conns : 0
compression : off
compression:
bytes_in : 0 bytes_out : 0
Compression ratio : 0.00%
Gzip: 0 Deflate: 0
compression errors:
User-Agent : 0 Accept-Encoding : 0
Content size: 0 Content type : 0
Not HTTP 1.1: 0 HTTP response error: 0
Others : 0
CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.