We have a situation where intermittently about 4-5 click sometimes that are re-direct to the url we configured in the HTTP Profile.
The HTTP Profile url is intended to server as fallback url when both pool members are down.
We monitored the logs, dont see that the pool members are are not marked down by monitors.
The virtual server uses an iRule which diverts traffic based on HTTP::URI to two differrent pools.
We migrated from BigIP 9.4.8 to Bigip 10.2 and started noticing this behaviour.
Any ideas why this might be happening? I cant seem to track down when a request going to the http profile, it is possible from the iRule via log commands ?
The fallback host will be used if a load balancing attempt fails--not only if the whole pool is marked down. You could try capturing a tcpdump to see what is happening on the serverside when the HTTP profile fallback host is used.
If you want to change the fallback behavior to only send a redirect if the whole pool is marked down, you could use the example from this solution:
sol6510: Change in Behavior: The Fallback Host is now used when a connection to a node fails
You wouldn’t happen to have the “Fallback on Error Codes” configured would you?
If not then I would suggest using the example iRule in the Solution that hoolio provided, disabling the Fallback in the HTTP Profile, and retesting with additional logging configured in the iRule to see if you get the same behavior.
If you do not then you could you could open up a case with F5 to explore the possibility of a bug in the HTTP Profile. (If you do open a case can you post case number so that we can track the results?)