cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
492
Views
0
Helpful
4
Replies

load balanced different port but same server

giordano234
Level 1
Level 1

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 :

https://10.10.192.100:7777 for application 1

https://10.10.192.100:1416 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..

4 Replies 4

danger_mousie
Level 1
Level 1

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?

actually just passthrough in load balancer for application 2.

when client send traffic for application 2 with address https://10.10.192.100:1416 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
Cisco Employee
Cisco Employee

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.

Gilles.

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 : 192.168.10.1

server 2 : 192.168.10.2

service guard ip : 192.168.10.100

gateway from server and act as vip in load balancer : 192.168.10.254

client should be access https://10.10.192.100:7777 for application 1

https://10.10.192.100:1416 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 ??

Getting Started

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: