cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2409
Views
0
Helpful
4
Replies

Ace Load Balance servers in different port than VIP address

tgandoy
Level 1
Level 1

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.

4 Replies 4

Borys Berlog
Cisco Employee
Cisco Employee

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.

http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/v3.00_A1/configuration/slb/guide/rsfarms.html#wp1000363

Jorge Bejarano
Level 4
Level 4

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

Thanks everybody for the quick answer.

Actually was easy too.

Sounds great!!!

Jorge