Clone, what does it do technically in an iRule?
ok, maybe my previous post from a few days ago was too confusing, sorry about that.
"Clone single http request" https://devcentral.f5.com/community...542/asg/50
Let's see if I can simplify my questions. In my feeble mind, a clone is an identical copy of something, usually a fruit fly or an apple but I had convinced myself also possibly an HTTP_REQUEST. In the following block of iRule code, when the number of members is 1, what happens technically?
a) will a duplicate HTTP_REQUEST be sent to the warning_pool (with the response ignored)
b) will some other type of IDS type network traffic be sent to warning_pool
when HTTP_REQUEST {
if { [active_members app_pool] == 2 }
{
pool app_pool
}
else
{
pool app_pool
clone pool warning_pool
}
}
Other Clone questions about the role of the VS settings for Clone Pool (Client) and Clone Pool (Server)
1. in order for the iRule code to function as I expect, do I need to assign warning_pool to the VS Clone Pool (Client)?
2. do I need to also assign it to Clone Pool (Server)? this seems unlikely...
3. will an iRule "clone pool warning_pool" work for one-off requests without having any of the VS clone stuff setup?
Again, in my mind it seemed logical to me that if I setup a VS Clone Pool then ALL the traffic through the VS would go there, either client or server or both. But if I enacted a clone command in an iRule, it would only effect that particular request that triggered it. I'm sure somebody understands this much better than I do so please help.