Forum Discussion

Numb3r_4_102532's avatar
Numb3r_4_102532
Icon for Nimbostratus rankNimbostratus
Nov 03, 2016

Load Balance to specific pool's member

Hi,

 

I have a request to load balance to a specific pool members in 1 virtual server.

 

Description : Application A has 2 different servers. Each servers has 2 virtual machine.

 

Eg:

 

Server A (10.10.10.1, 10.10.10.2) Server B (20.20.20.1, 20.20.20.2)

 

The request is to make the load balance based on physical server instead of the virtual machines. The reason is because they wanted the load balance for the connections coming in to be distributed evenly between the 2 physical servers.

 

Expected Loadbalance to work : Conn 1 -> 10.10.10.1 Conn 2 -> 20.20.20.1 Conn 3 -> 10.10.10.2 Conn 4 -> 20.20.20.2

 

Is there any way we can do from the GUI or does iRule needed for this requirement?

 

Thanks!

 

1 Reply

  • Use Least Connections (member) if the same IP is not used in any other pool. If the same IP is used in multiple pools, use Least Connections (node).