netcmh
asked on
ACE 4710 Load Balancing
Hello,
Can someone help me figure out where I'm going wrong? I can't seem to configure LB between 2 webservers.
Here's my config:
ACE4710/Admin#
resource-class Internal-Context
limit-resource all minimum 10.00 maximum unlimited
interface vlan 2
ip address 10.0.1.11 255.0.0.0
alias 10.0.1.12 255.0.0.0
peer ip address 10.0.1.13 255.0.0.0
service-policy input MGMT_pm
no shutdown
context CorpInternal
allocate-interface vlan 2
member Internal-Context
ACE4710/Admin# conf
ACE4710/Admin(config)# context CorpInternal
ACE4710/Admin(config-conte xt)# allocate-interface vlan 2
ACE4710/Admin(config-conte xt)# member Internal-Context
ACE4710/Admin(config-conte xt)# exit
ACE4710/Admin(config)# exit
ACE4710/Admin# changeto CorpInternal
ACE4710/CorpInternal# conf
ACE4710/CorpInternal(confi g)#
logging enable
logging timestamp
logging trap 5
access-list CorpINTERNAL line 11 extended permit ip any any
probe icmp PROBE_SERVICE_ICMP
interval 5
passdetect interval 5
exit
rserver host Corpweb01
description Corp Web Server 01
ip address 10.0.1.2
inservice
exit
rserver host Corpweb02
description Corp Web Server 02
ip address 10.0.1.3
inservice
exit
serverfarm host CorpINTERNAL_sf
probe PROBE_SERVICE_ICMP
rserver Corpweb01
inservice
exit
rserver Corpweb02
inservice
exit
exit
class-map match-all CorpINTERNAL_cm
match virtual-address 10.0.1.4 255.0.0.0 tcp eq www
exit
class-map type management match-any mgmt-cm
match protocol icmp any
match protocol http any
match protocol https any
match protocol snmp any
match protocol telnet any
match protocol ssh any
exit
policy-map type management first-match mgmt-pm
class mgmt-cm
permit
exit
exit
policy-map type loadbalance first-match CorpINTERNAL_pm
class class-default
serverfarm CorpINTERNAL_sf
exit
exit
policy-map multi-match CorpINTERNAL_mm_pm
class CorpINTERNAL_cm
loadbalance vip inservice
loadbalance policy CorpINTERNAL_pm
loadbalance vip icmp-reply active
nat dynamic 1 vlan 2
exit
exit
interface vlan 2
description connectivity on VLAN 2
ip address 10.0.1.5 255.0.0.0
alias 10.0.1.6 255.0.0.0
peer ip address 10.0.1.7 255.0.0.0
access-group input CorpINTERNAL
nat-pool 2 10.0.1.4 10.0.1.4 netmask 255.0.0.0 pat
service-policy input mgmt-pm
service-policy input CorpINTERNAL_mm_pm
no shutdown
exit
ip route 0.0.0.0 0.0.0.0 10.0.1.1
snmp-server community ************ group Network-Monitor
ACE4710/CorpInternal(confi g)# exit
ACE4710/CorpInternal#
Thank you for helping out.
Can someone help me figure out where I'm going wrong? I can't seem to configure LB between 2 webservers.
Here's my config:
ACE4710/Admin#
resource-class Internal-Context
limit-resource all minimum 10.00 maximum unlimited
interface vlan 2
ip address 10.0.1.11 255.0.0.0
alias 10.0.1.12 255.0.0.0
peer ip address 10.0.1.13 255.0.0.0
service-policy input MGMT_pm
no shutdown
context CorpInternal
allocate-interface vlan 2
member Internal-Context
ACE4710/Admin# conf
ACE4710/Admin(config)# context CorpInternal
ACE4710/Admin(config-conte
ACE4710/Admin(config-conte
ACE4710/Admin(config-conte
ACE4710/Admin(config)# exit
ACE4710/Admin# changeto CorpInternal
ACE4710/CorpInternal# conf
ACE4710/CorpInternal(confi
logging enable
logging timestamp
logging trap 5
access-list CorpINTERNAL line 11 extended permit ip any any
probe icmp PROBE_SERVICE_ICMP
interval 5
passdetect interval 5
exit
rserver host Corpweb01
description Corp Web Server 01
ip address 10.0.1.2
inservice
exit
rserver host Corpweb02
description Corp Web Server 02
ip address 10.0.1.3
inservice
exit
serverfarm host CorpINTERNAL_sf
probe PROBE_SERVICE_ICMP
rserver Corpweb01
inservice
exit
rserver Corpweb02
inservice
exit
exit
class-map match-all CorpINTERNAL_cm
match virtual-address 10.0.1.4 255.0.0.0 tcp eq www
exit
class-map type management match-any mgmt-cm
match protocol icmp any
match protocol http any
match protocol https any
match protocol snmp any
match protocol telnet any
match protocol ssh any
exit
policy-map type management first-match mgmt-pm
class mgmt-cm
permit
exit
exit
policy-map type loadbalance first-match CorpINTERNAL_pm
class class-default
serverfarm CorpINTERNAL_sf
exit
exit
policy-map multi-match CorpINTERNAL_mm_pm
class CorpINTERNAL_cm
loadbalance vip inservice
loadbalance policy CorpINTERNAL_pm
loadbalance vip icmp-reply active
nat dynamic 1 vlan 2
exit
exit
interface vlan 2
description connectivity on VLAN 2
ip address 10.0.1.5 255.0.0.0
alias 10.0.1.6 255.0.0.0
peer ip address 10.0.1.7 255.0.0.0
access-group input CorpINTERNAL
nat-pool 2 10.0.1.4 10.0.1.4 netmask 255.0.0.0 pat
service-policy input mgmt-pm
service-policy input CorpINTERNAL_mm_pm
no shutdown
exit
ip route 0.0.0.0 0.0.0.0 10.0.1.1
snmp-server community ************ group Network-Monitor
ACE4710/CorpInternal(confi
ACE4710/CorpInternal#
Thank you for helping out.
ASKER
Anyone?
ASKER
Bump!
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Figured it out by myself.
ASKER
Thanks :)