ACE - Port Load balance

Unanswered Question
Gilles Dufour Thu, 09/24/2009 - 01:20
User Badges:
  • Cisco Employee,

Hopefully you're not asking for the complete solutions but just some guidance.


First, configure each real server.

In other words, every device physical ip address.


ie:

rserver Squid1

ip addr x.x.x.x

inservice


Then create a serverfarm to group the rservers.


ie:

serverfarm proxy

rserver squid1 8080

ins

rserver squiq1 3128

ins

rserver squid2 8080

ins

rserver squid2 3128

ins


Then use the serverfarm in your policy.


Gilles.

Thanks you for the attention.


we already have this configuration working.

The problem is: 50% of the users are configurated to use the port 3128 on the IE proxy settings and other 50% to use the port 8080. We want to set up all users IE proxy settings to use one single port (Ex. 5555). When these users try to use the internet they will send the request to ACE than ACE will change the port destination (3128 or 8080) and send to the servers.



dario.didio Thu, 09/24/2009 - 04:26
User Badges:
  • Silver, 250 points or more

Hi,


so what you want is the users connect to the proxy VIP on the ACE to port 10.1.240.10:5555 and the ACE balances these request over the proxy servers on ports server 1 port 3128+8080 and server 2 port 3128+8080? Is this correct?


This should work:


class-map match-all L4VIPCLASS

2 match virtual-address 10.1.240.10 tcp eq 5555


rserver server1

ip add x.x.x.x

ins

rserver server2

ip add x.x.x.x

ins


serverfarm test

rserver server1 3128

ins

rserver server1 8080

ins

rserver server2 3128

ins

rserver server2 8080

ins



This way, all requests for internet will be load-balanced over your proxy servers on ports 3128 and 8080, but your clients will only send traffic to 5555.


HTH,

Dario


Actions

This Discussion