18-Jul-2023 08:47
We have 3 IPS load Balanced with 2 ports
192.168.1.20 port 8080
192.168.1.21 port 8080
192.168.1.22 port 8080
VS 192.168.20.211 port 8080
192.168.1.20 port 7080
192.168.1.21 port 7080
192.168.1.22 port 7080
VS 192.168.20.211 port 7080
It was noticed that traffic was only going to Port 8080 with port 7080 not having a single hit
how can i ake sure services are load balanced btween the instances 8080 and 7080
Solved! Go to Solution.
19-Jul-2023 06:59
@FAJUMO I don't believe it can be included in the DNS response but in order to use both 8080 and 7080 you would need to have the following.
http://192.168.20.211:8080/UniCAPAdmin/layout#
http://192.168.20.211:7080/UniCAPAdmin/layout#
You could configure an 80 virtual server that balances to both the 8080 and 7080 and then an iRule on each one that performs a redirect to 8080 or 7080 depending on which virtual server you end up being balanced to in the pool for the 80 virtual server.
18-Jul-2023 11:52
@FAJUMO You have verified that VS on 192.168.20.211 on port 7080 does have statistics showing it's being used? It's possible that you have persistence configured with "Match Across Pools" if you are not seeing the port 7080 pool pool members with zero statistics at all. You can apply an iRule to the virtual server in question and put a logging line similar to the following to see where the traffic is ultimately being sent that comes in on port 7080.
when LB_SELECTED {
log local0. "LB INFO - Client: [IP::remote_addr], Port: [TCP::remote_port], Pool: [LB::server]"
}
18-Jul-2023 12:36
18-Jul-2023 21:30
@FAJUMO Those appear to be the statistics for the pool and not the virtual server. Check the virtual server statistics and if they are zero then either the virtual server isn't configured correctly or the client is not making a request to 7080 on that particular IP.
19-Jul-2023 03:08
Hello ,Thanks for the swift response.
Both VS were configured correctly.
This is the scenerio
There is a FQDN for his VS, where users access e.g
http://192.168.20.211/UniCAPAdmin/layout#
It was noticed that when browsed, it is only going to port 8080 alone and not getting to other port 7080
They want it to be balanced among the instances (port 8080 and port 7080)
19-Jul-2023 06:59
@FAJUMO I don't believe it can be included in the DNS response but in order to use both 8080 and 7080 you would need to have the following.
http://192.168.20.211:8080/UniCAPAdmin/layout#
http://192.168.20.211:7080/UniCAPAdmin/layout#
You could configure an 80 virtual server that balances to both the 8080 and 7080 and then an iRule on each one that performs a redirect to 8080 or 7080 depending on which virtual server you end up being balanced to in the pool for the 80 virtual server.