Forum Discussion
Load balancer help setup needed
Its definitely not load balancing. I have set different messages to respond from each server. If I set the admin status on server 1 to offline, then it gets a response from server 2. But when I bring server 1 back online it continues to only get responses from server 2. Then if I take server 2 offline it gets responses from server 1. Then when I bring server 2 back online it continues to get responses from server 1.
So it only ever sends to one server. But it can obviously send to both, so why is it not load balancing using round robin?
Steve.
- Andrew_Ragone_2Jan 19, 2016Historic F5 AccountHi Steve, so the reason you are seeing the same response from one server is you have the "Source IP Persistence" enabled in your Virtual Server. It would be expected behavior that you see an intermittent 502 when you take the server offline until the persistence record expires and/or that you only get sent to one server. To ensure the system is actually load balancing, you can try 1 of 2 things: 1) turn off Source IP persistence, at least temporarily, for testing purposes 2) attempt to access the VIP from a different IP address on your system or another system
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