load balanced different port but same server

Unanswered Question
Oct 4th, 2007

Is it possible for load balance with different port but the same server.

Because in a server have 2 application ?

The case like this :

Client need access : for application 1 for application 2

Traffic from client to application 1 need load balanced but for application 2 no need load balanced.

how i must create the configuration if this scenario can running.

please advice..

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
danger_mousie Thu, 10/04/2007 - 10:52

I'm afraid I must reply with a question?

Is it not possible for the App1 client to target a VIP that will load balance across the serversm and the client for App2 to target the real IP? For App2 it does not need to go through the module at all no? Just straight through the Switc/router?

giordano234 Thu, 10/04/2007 - 11:04

actually just passthrough in load balancer for application 2.

when client send traffic for application 2 with address client actually access the virtual ip in load balancer for this scenario we using 2 server (each server have 2 application) but for the application 2 server have service guard ip (like virtual ip but from server side not in load balancer). the logicaly from client access vip in load balancer and by load balancer redirect to service guard ip but just for access port 1416.

Gilles Dufour Thu, 10/04/2007 - 11:08

if you create a Layer3 rule [do not specify the TCP port], the CSS will loadbalance any ports.

You can use stickyness [like sticky src ip] to guarantee the 2nd connections to the same server.

Depending on the loadbalancer, you can even use the same sticky group with 2 different content rules to guarantee stickyness.


giordano234 Thu, 10/04/2007 - 11:37

what must not specified https or port application ?

you mean i create Layer3 rule in content ?

because Gilles, traffic from client to load balancer for :

application 1 can choose server1 or server2, but for

application 2 must choose service guard ip or vip from server side.

note: server1 and server2 have service gurad ip (vip server from server side)

let say ;

server 1 :

server 2 :

service guard ip :

gateway from server and act as vip in load balancer :

client should be access for application 1 for application 2

is it possible from CSS separate traffic from client based on port, because client just access 1 ip address/1 vip in load balancer, but CSS should be load balanced for port 7777 but not for port 1416

so i must create 2 content rules correct ?

1 for port 7777 and 1 for port 1416 ??


This Discussion