12-01-2008 05:12 AM
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....
12-01-2008 06:30 AM
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.
12-01-2008 08:05 AM
I have to configure /console along with VIP as show below:-
12-03-2008 05:56 PM
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
12-03-2008 07:24 PM
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
12-04-2008 04:45 AM
Dont forget to apply the service policy to the client vlan
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: