Forum Discussion
Send same request across multiple pools
Hi,
We are using BIGIP for internal load balancing. I was wondering is it possible to configure BIG IP so that same request will be sent to two pools , Let's say Pool A( Live pool) and Pool B( Test Pool). The idea is that Both pools will accept and process the request but only Live Pool(PoolA) response should be sent to original client who requested it and response sent to Test poolB should be written to disk or ignore completely.
Any insight on configuration or code samples would be great.
Thanks,
Ravi
6 Replies
- Kevin_Stewart
Employee
That is a use case for clone pools.
http://support.f5.com/kb/en-us/solutions/public/13000/300/sol13392.html - Ravi_75530
Nimbostratus
Thanks for the fast reply. I will look into it.
- Ravi_75530
Nimbostratus
Does this require any specific BIG IP product to purchase? Is it already enabled in big ip load balancer? - Kevin_Stewart
Employee
Built right into LTM. Just assign the pool to the virtual server. - Jaz_170005
Nimbostratus
Hello, not sure if pool cloning applies to my case. I need to send same request to two different pools...none of them is for monitoring or sniffing traffic. I have a case in which when a client sent a request with certain flag in header--> I have to send it to two different backend pools/applications.
pseudo code: when HTTP_REQUEST { set refresh_cache [HTTP::header Refresh-Cache] if {$refresh_cache eq "true"} { pool pool-1 pool pool-2 } else { pool pool_1 } }
in true case, I see request only goes to pool_1, never reaches pool_2 line which is how the flow works..so is there any way to work around this?
thank you in advance.
- Kevin_Stewart
Employee
Jaz,
It's really not supported to "multi-cast" requests to multiple targets. You're setting up a TCP connection to a backend server (especially for HTTP traffic), so you'd need BIG-IP to establish two separate TCP connections, and then choose which response to send back to the client. An alternative might be to use sideband connections to send the traffic to the servers out-of-band.
Ref: https://devcentral.f5.com/wiki/iRules.SIDEBAND.ashx
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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