Content Switching Load Balancing issue
Hi all,
I have an issue with our test setup from where we will build the production configuration. I hope someone can help.
The setup is as following:
- Client >>
- Virtual (SSL offload)
- iRule with Datagroup that maps request host to Virtual
- Virtual >> Round Robin Pool with 2 members on port 80
I created the first virtual to offload all SSL for the sake of managebility because i need to host 300+ sites on their own virtuals to be able to serve different maintenance pages and profiles.
Using an iRule and a datagroup i'm able to direct requests to a virtual matching the host header in the client request:
Code
when HTTP_REQUEST {
if { [class match [string tolower [HTTP::host]] equals domain_map_ot] } {
virtual [class match -value [string tolower [HTTP::host]] equals domain_map_ot]
}
That works fine and traffic arrives at the second virtual server.
BUT......
The pool attached to the second virtual is setup with Round Robin. But balancing goes wrong and maybe 20 request go to the first, 1 to the second, 30 request to the first, 3 to the second... and so on (estimated numbers).
The only way to get is to work as expected (Round Robin), is attaching a OneConnect profile to the second virtual. But there's where i don't get it anymore. Why would i need this and why doen't it work without the OneConnect profile ?