Forum Discussion
Nilesh_Dubey_36
Nimbostratus
Feb 21, 2019new partition and common partition have same VIPs
Hi Guys,
I have created a new patition on F5 LTM but it is having the same VIP config as common.
As per my understanding it should be blank so that I can create some new VIP but it not blank. ...
Untested:
when HTTP_REQUEST {
if { ([HTTP::host] eq "john.a.com") and ([string length [HTTP::uri]] < 3) } {
set NEW_URI [string map {/ /shortname=} [HTTP::uri]]
HTTP::respond 301 Location "http://whois.[HTTP::host]$NEW_URI"
}
}
From K6510: BIG-IP system fallback host behavior when a host is down:
When a Fallback Host is defined, and the connection attempt to the selected load balancing target has failed by the time the BIG-IP LTM system is ready to send the request, the BIG-IP LTM system sends the specified HTTP redirect in the following situations: - A pool member has not been chosen (the system failed to select a pool or a pool member, or no pool members were available) - A pool member is unreachable (when no route to the target exists) - A pool member is unresponsive (resets a connection request) - A pool member closes an established connection before the request is sent
.
Please read answer posted by F5 in this thread
"Anything that raises an abort above the HTTP filter in the chain will trigger a HTTP fallback. This includes things like errors in iRules, Out of Memory situations, misconfiguration, and of course the proxy failing to connect"