Forum Discussion
emily_74156
Nimbostratus
Nov 11, 2009How to send a request to 2 pools
In my irule, I have this code -
if { [HTTP::uri] equals "/UpdateSoapHttpPort" } {
pool pool_1
pool pool_2
} else {
pool pool_3
}
But it doesn't send the request to both pools for this uri-/UpdateSoapHttpPort, it only goes to pool_1.
How to fix it so that the req goes to both pools for that particular URI?
14 Replies
- The_Bhattman
Nimbostratus
There is a function called cloned pool that is a selection on the virtual Configuration. What it does is replicate either server-side or client side traffic (that is, prior to address translation), to a member of the specified clone pool. So in theory it might be what you are looking for, however, it was really meant for Intrution detection systems and sniffers that needed to troubleshoot but not be intrusive to the server.
CB - emily_74156
Nimbostratus
So, if i select the pool which contains the 2 nodes for "Clone Pool (Server) ", the request will be sent to 2 nodes? - emily_74156
Nimbostratus
Here is what I did - i set pool_1 (contains node1) as the default pool, then set pool_2(contains node2) as the clone pool-client and clone pool-server.
But the request only goes to pool_1, it doesn't go to pool_2 at all.
Any thoughts? - The_Bhattman
Nimbostratus
Hi Emily,
First you should remove pool_2 as a clone pool-client and then install some kind of sniffer on node2 (i.e. Wireshark) to see if node2 is receiving the information
CB
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