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?
- The_Bhattman
Nimbostratus
Hi Emily, - emily_74156
Nimbostratus
Yes, I can combine the servers from pool_1 and pool_2 into pool_1, but how do i adjust the irule to make the req go to 2 nodes in pool_1? - The_Bhattman
Nimbostratus
The LTM cannot send the same connection over to 2 or more nodes simultaneosly. What it does it sends the request to one of the nodes based on load balancing method you had set up - dividing multiple requests between the nodes. - emily_74156
Nimbostratus
If I want the same request to go to 2 nodes, how can I accomplish that? - The_Bhattman
Nimbostratus
You can't send the same requests to 2 nodes at the same time. - emily_74156
Nimbostratus
no way around that? - The_Bhattman
Nimbostratus
I'm sorry to say it's not possible with the technology we have today. - emily_74156
Nimbostratus
This is a business requirement. For that particular URI, it has to go to 2 nodes. - The_Bhattman
Nimbostratus
What are you talking about is mirroring the requests. Even if you store it and some how send the same one to the 2nd node then node will respond back to the client and client will mostly likely not know what to do with a duplicate response. - emily_74156
Nimbostratus
that's fine. the duplicate response is not an issue. We did talk about this, the client indicates that it's a non-issue.
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