Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Regarding Load Balancing (ACE)

I have two real servers like http://172.16.10.2:5001/console & http://172.16.10.3:5001/console. And thier virtual IP address is http://172.16.10.1:7001, now can any body tell me where I will define CONSOLE word in configuration ????????

i will appreciate your quick reply....

5 REPLIES
Cisco Employee

Re: Regarding Load Balancing (ACE)

do you want to probe /console ?

Do you want to match only /console ??

If the second, you need to create an http loadlabalcing class-map

ie:

switch/Admin(config)# class-map type http loadbalance UrlConsole

switch/Admin(config-cmap-http-lb)# match http url /console

Then under you http policy, match the newly defined class-map.

Gilles.

New Member

Re: Regarding Load Balancing (ACE)

I have to configure /console along with VIP as show below:-

http://172.16.1.1:5001/console

Silver

Re: Regarding Load Balancing (ACE)

Create two class-maps

#class-map type http loadbalance match-any console

lb#match http url .*console.*

#class-map type http loadbalance match-any html

lb#match http url .*html

Create VIP

#class-map VIP-XXX

#match virtual-address x.x.x.x any

Create Policy Map

#policy-map type loadbalance first-match lb

lb# class class-default

lb# class console

lb-c# serverfarm "abc"

lb-c# class html

lb-c# serverfarm "abc'

lb-c# class VIP-xxx

lb-c# loadbalance lb

lb-c#loadbalance vip inservice

Apply to interface

int vlan x

service-policy input

New Member

Re: Regarding Load Balancing (ACE)

Hi Ropethic

Thanks for your response

Your configuration is giving some logic, I will try then revert back to you.

I also tried with following configuration as shown below & but it doesn't work :-

class-map match-all EXTERNAL-VIP

2 match virtual-address 172.18.120.24 tcp eq 7001

class-map type http loadbalance match-all URL-CONSOLE

2 match http url .*/console

policy-map type loadbalance first-match SLB-LOGIC

class URL-CONSOLE

serverfarm Application-Farm

policy-map multi-match CLIENT-VIPS

class EXTERNAL-VIP

loadbalance vip inservice

loadbalance policy SLB-LOGIC

Silver

Re: Regarding Load Balancing (ACE)

Dont forget to apply the service policy to the client vlan

155
Views
0
Helpful
5
Replies
CreatePlease to create content