Forum Discussion
Multiple Port Load Balancing
- Jul 19, 2023
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.
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]"
}
- FAJUMOJul 18, 2023Cirrus
Hello Paulius,
Thanks for your swift response.
No traffic was seen on 7080 while traffic was seen on 8080 while checking the statistics (Find attached)
I have applied the Irule you adviced, how do i get the logs for the Irule ?
- PauliusJul 19, 2023MVP
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.
- FAJUMOJul 19, 2023Cirrus
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)
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com