2 Different Application on Same Server: 2 VIP

Unanswered Question
Jul 3rd, 2010
User Badges:

Hi,


I need one help..


1. I have 2 different Application installed on same Server (Web Portal & SSO)


2. Both these applications need to be load balanced.


3. 2 VIP is available.


Traffic Flow:


Internet User--> Web Server--> SSO Server


How ACE will do the load balancing for these 2 applications?


kindly suggest..

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
dario.didio Mon, 07/05/2010 - 00:22
User Badges:
  • Silver, 250 points or more

Hi,


The ACE can do this without any problem.


Define your real server:


rserver SERVER1

ip address 192.168.1.1


inservice


Define 2 serverfarms ( one serverfarm per application, define the TCP port on your rserver)



serverfarm PORTAL

rserver SERVER1 80

  inservice




serverfarm SSO

rserver SERVER1 443

  inservice


Define 2 class maps:


class-map match-any PORTAL-80


match virtual-address 172.16.1.1 tcp eq 80




class-map match-any SSO-443


match virtual-address 172.16.1.2 tcp eq 443


Define 2 policy-maps



policy-map type loadbalance first-match PORTAL

class class-default

  serverfarm PORTAL




policy-map type loadbalance first-match SSO

class class-default

  serverfarm SSO



Define a L3 policy-map:



policy-map multi-match VIPS

class PORTAL-80

  loadbalance vip inservice

  loadbalance policy PORTAL

  loadbalance vip icmp-reply active


class SSO-443

  loadbalance vip inservice

  loadbalance policy SSO

  loadbalance vip icmp-reply active



activate this on your interface


vlan 10

service-policy input VIPS


HTH,

Dario

acharyr123 Mon, 07/05/2010 - 02:53
User Badges:

Thank you so much for such nice guidance..


Rgds,


Partha

Actions

This Discussion