Single Virtual IP, single pool, 2 members
Hello friends.
I have configured Reverse proxy that single pool with the two pool members is behind the single Virtual Server.
VIP:10.200.17.10:443 -------->Pool1: Members: 10.200.5.10:7007 AND 10.200.5.10:7005
There are diverse domain name for each service.
10.200.5.10:7007 ----> cg.company.local and
10.200.5.10:7005 sg.company.local
irules configuration is below:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] eq "cg.company.local" and [HTTP::path] ne "/SVFE2/" and [HTTP::path] eq "/" } {
HTTP::respond 302 Location "https://[HTTP::host]/SVFE2/"
}
elseif { [string tolower [HTTP::host]] eq "sg.company.local" and [HTTP::path] ne "/sv/" and [HTTP::path] eq "/" } {
HTTP::respond 302 Location "https://[HTTP::host]/sv/"
}
}
But I encounter with the errors. Sometimes sites don`t not open.
I deem it is related to load balancing behavior of F5.
Could you give me a hand to find a solution?