cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
608
Views
0
Helpful
5
Replies

Regarding Load Balancing (ACE)

shivgahlot
Level 1
Level 1

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 5

Gilles Dufour
Cisco Employee
Cisco Employee

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.

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

http://172.16.1.1:5001/console

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

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

Dont forget to apply the service policy to the client vlan

Review Cisco Networking for a $25 gift card