cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
385
Views
0
Helpful
2
Replies

2 Different Application on Same Server: 2 VIP

acharyr123
Level 3
Level 3

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..

2 Replies 2

dario.didio
Level 4
Level 4

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

Thank you so much for such nice guidance..

Rgds,

Partha