[c-nsp] Loadbalancing on ACE4710

Arne Larsen / Region Nordjylland arla at rn.dk
Sat Aug 13 02:18:41 EDT 2011


Hi all

I'll appreciate if someone could give me a hint how to setup a ACE4710.
I have a problem regarding RMI calls.
The vendor would like to install 4 serveres with 4 incarnations of the same application.
Say fram tcp port 8001 to 8004.
The client software calls port 8003, so the balancer has to translate the destination port when balancing. Beyond that the client also calls a rmi portrange.
Setting up the port src nat is straight forward I guess.
But how to I control the rmi calls, will stikiness be able to do this based on the scr addr  ?
Do I need an entry more class map pointing out the tcp protocol ?.

Config .:

rserver host TEST1
  ip address 10.1.1.1
  inservice
rserver host TEST1
  ip address 10.1.1.2
  inservice
rserver host TEST1
  ip address 10.1.1.3
  inservice
rserver host TEST1
  ip address 10.1.1.4
  inservice
serverfarm host TEST_FARM
  rserver TEST1 8001
    probe TCP-8001
    inservice
  rserver TEST1 8002
    probe TCP-8002
    inservice
  rserver TEST1 8004
    probe TCP-8004
    inservice
rserver TEST2 8001
    probe TCP-8001
    inservice
  rserver TEST2 8002
    probe TCP-8002
    inservice
  rserver TEST2 8004
    probe TCP-8004
    inservice
rserver TEST3 8001
    probe TCP-8001
    inservice
  rserver TEST3 8002
    probe TCP-8002
    inservice
  rserver TEST3 8004
    probe TCP-8004
    inservice
rserver TEST4 8001
    probe TCP-8001
    inservice
  rserver TEST4 8002
    probe TCP-8002
    inservice
  rserver TEST4 8004
    probe TCP-8004
    inservice

sticky ip-netmask 255.255.255.255 address both TEST1_STIKY
  replicate sticky
  serverfarm TEST1_FARM

class-map match-any VIP_TEST_1
  10 match virtual-address 10.1.1.1  tcp eq 8003
## < 20 match virtual-address 10.1.1.1 tcp > ##


policy-map type loadbalance first-match TEST1_POLICY
  class class-default
    serverfarm TEST1_FARM

!
policy-map multi-match VIP_ORACLE_POLICY
   class VIP_TEST_1
    loadbalance vip inservice
    loadbalance policy TEST1_POLICY
    loadbalance vip icmp-reply

/Arne



More information about the cisco-nsp mailing list