07-20-2012 03:53 AM
Hi,
While this is quite simple in a CSS configuration, I could not find yet how to do this with an ACE:
- VIP address listen port TCP http
- Load balancing have to be done between rservers 1 and 2 listen on port 8030.
So what I mean is, users will connect to http://"vipaddress" but connections will go to rserver1 and rserver2 on port 8030.
Thanks.
Toni.
07-20-2012 04:59 AM
Hi Toni
In ACE it's quite simple too (but I agree may be confusing after CSS)
Basically when you create serverfarm , you put it like this :
serverfarm host X
rserver X1 8030
inservice
So, port which is going to be used between ACE and real server is specified in serverfarm.
07-20-2012 05:27 AM
Hey Toni,
Here you have a sample about it:
interface vlan 112
ip address 10.198.16.71 255.255.255.192
peer ip address 10.198.16.72 255.255.255.192
mac-sticky enable
access-group input ACCESS-ANS
nat-pool 126 10.198.16.126 10.198.16.126 netmask 255.255.255.192 pat
service-policy input ANS-MGT
service-policy input CLIENTS
no shutdown
class-map match-any VIP-126
2 match virtual-address 10.198.16.126 tcp eq www
policy-map multi-match CLIENTS
class VIP-126
loadbalance vip inservice
loadbalance policy POLICY
loadbalance vip icmp-reply
nat dynamic 126 vlan 112
appl-parameter http advanced-options CASE_PARAM
policy-map type loadbalance first-match POLICY
class class-default
serverfarm SERVERFARM
serverfarm host SERVERFARM
probe PROBE
rserver server1 8030
inservice
rserver server2 8030
inservice
rserver host server1
ip address 10.198.16.93
inservice
rserver host server2
ip address 10.198.16.92
inservice
Jorge
07-20-2012 05:30 AM
Thanks everybody for the quick answer.
Actually was easy too.
07-20-2012 05:50 AM
Sounds great!!!
Jorge
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