Virtual Server One port hearing and Multiple port Balance

Hi community

I want to know if it is possible to balance between two different real servers that use ten different ports each of them.
This using only One Virtual Server hearing in only one port

This is a configuration example what I’m talking:

slb server DNS1\_SERVER 100.18.1.200 
  health-check-disable 

port 80 tcp
    health-check-disable
  port 5000 tcp
    health-check-disable
  port 6000 tcp
    health-check-disable
  port 7000 tcp
    health-check-disable
  port 8000 tcp
    health-check-disable
  port 9000 tcp
    health-check-disable
  port 1000 tcp
    health-check-disable
!

slb server DNS2\_SERVER 100.18.1.201 
  health-check-disable 

port 80 tcp
    health-check-disable
  port 5000 tcp
    health-check-disable
  port 6000 tcp
    health-check-disable
  port 7000 tcp
    health-check-disable
  port 8000 tcp
    health-check-disable
  port 9000 tcp
    health-check-disable
  port 1000 tcp

    health-check-disable 
 
slb service-group SLB\_DNS\_1/2\_SG tcp 

method least-connection
  member DNS1_SERVER 80
  member DNS1_SERVER 5000
  member DNS1_SERVER 6000
  member DNS1_SERVER 7000
  member DNS1_SERVER 8000
  member DNS1_SERVER 9000
  member DNS1_SERVER 1000
  member DNS2_SERVER 80
  member DNS2_SERVER 5000
  member DNS2_SERVER 6000
  member DNS2_SERVER 7000
  member DNS2_SERVER 8000
  member DNS2_SERVER 9000
  member DNS2_SERVER 1000

slb virtual-server ADC-SLB_M_MITEC 172.28.85.162
  extended-stats
  port 443 https
    extended-stats

    service-group SLB\_DNS\_1/2\_SG 
    use-rcv-hop-for-resp 

I want to know if the above configuration can works.

Your comments will be very appreciated

Thanks,

Yes that is exactly how it should work.

Do realise that when using the method “least-connection” the ADC will still keep track of the nr of sessions per “server”, if the servers tie, then it will select the server-port with the fewest connections.

If both servers have the same amount of ports (as in your case) you can also use the “service-least-connections” method to achieve an even nr of connections per server and per port. (assuming both servers will always have the same nr of ports active).