Forum Discussion
David_Forget_22
Nimbostratus
Oct 20, 2009Clone Pool Irule
Hi,
We would like to intercept/clone all HTTP REQUESTs and HTTP RESPONSEs for certain Virtual Server / Pool. We looked at clone pool feature but the documentation does not provide enough information on how to set it up and if the server response will be cloned to the clone pool. What are the best ways to do it with F5 BigIP (9.4.7) using IRules
Thanks
9 Replies
- hoolio
Cirrostratus
I'm not sure whether the responses will be sent to the clone pool, but per the solution below I think they will be:
SOL8573: Overview of port mirroring and clone pools
https://support.f5.com/kb/en-us/solutions/public/8000/500/sol8573.html
A clone pool is a property of a virtual server, and it receives all of the same traffic as the load-balancing pool.
Also, I expect the functionality will be the same whether you call the clone pool using the VIP configuration or from an iRule. The configuration is fairly straightforward and is described in SOL8573.
If you test this and find out the answer, could you reply here for reference?
Thanks,
Aaron - brad_11480
Nimbostratus
What isn't clear when using an irule to set the clone pool conditionally is if it is setting the request side or the response side cloning. There only seems to be one iRule command to set cloning and it doesn't describe which it does or if it does both, or if it is based on the event where it appears.
i'll probably do a bunch of trial and error to find out, but if someone knows or if there is a document that provides the answer, it would be much appreciated! - brad_11480
Nimbostratus
What isn't clear when using an irule to set the clone pool conditionally is if it is setting the request side or the response side cloning. There only seems to be one iRule command to set cloning and it doesn't describe which it does or if it does both, or if it is based on the event where it appears.
i'll probably do a bunch of trial and error to find out, but if someone knows or if there is a document that provides the answer, it would be much appreciated! - What_Lies_Bene1
Cirrostratus
My belief is that, as you suggest, it's based on the context of the Event but I've never tested it. - nitass
Employee
What isn't clear when using an irule to set the clone pool conditionally is if it is setting the request side or the response side cloning. There only seems to be one iRule command to set cloning and it doesn't describe which it does or if it does both, or if it is based on the event where it appears. i understand what clone command does is to select clone pool member. i have not tested but i think to clone specific traffic side, vip-targeting-vip and clone pool (gui) may be usable. - What_Lies_Bene1
Cirrostratus
Interesting, thanks. - Rudi_95802
Nimbostratus
Anyone have an answer to the OP? I'm being asked to send all the traffic (requests and responses) for a VIP to a collector probe.
- James_Thomson
Employee
For that, you can just create a pool that has the collector probe in it, then assign a clone pool to the virtual server object.
- Rudi_95802
Nimbostratus
Thank you so much James. Hope it works!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects