Dear Experts,
Anyone having idea on how to route traffic from one VIP to another VIP hosted on the same loadbalancers.
Dear Experts,
Anyone having idea on how to route traffic from one VIP to another VIP hosted on the same loadbalancers.
Hi,
you could use the virtual statement in an irule and attache the irule to the vs.
If I may add,
Isn’t the same achieved without any iRule
Not really. You cannot pool to a VIP (at least not in the same route domain), so within a single route domain the only realistic way to pass traffic from one VIP to another is with VIP targeting in an iRule.
Could you please help me to understand this iRiule
Certainly.
when HTTP_REQUEST {
if { [HTTP::uri] contains "something" } {
log local0. "internally routing from [virtual name] to (name of vs)"
virtual (name of vs)
}
}
What you’re basically saying is that if an incoming HTTP request URI contains the string “something”, pass the request to a different virtual server (by name).