Forum Discussion
Send http get request to all nodes
Hello, I have a virtual server with one pool and 2 nodes. I would like to send the http traffic to both when accessing the specific urls: /api/cache/clearcachedtable?tablename=[XYZ] /api/cache/clearcacheduser?username=[XYZ]
How can I implement it with iRule?
Thanks, Daniel.
5 Replies
- IainThomson85_1
Cumulonimbus
Depending on the reason for doing it.
Its not for an IDS device is it ?
https://support.f5.com/kb/en-us/solutions/public/8000/500/sol8573.html
- Daniel_AIG_2459
Nimbostratus
No, it's not an IDS device. These are two identical web server, the following url trigger's cache clear command.
- IainThomson85_1
Cumulonimbus
I dont' know how that work from a TCP connection perspective - And wouldn't know how to get it to work from an iRule syntax. Although I imagine it might be fairly complex. Apologies I can't help further.
- Vijay_E
Cirrus
This article may be of use: https://devcentral.f5.com/articles/http-request-cloning-via-irules-part-1
- gbam_190768
Cirrus
It isn't elegant but you can do it:
https://devcentral.f5.com/articles/http-request-cloning-via-irules-part-1
Personally, I'd rather just setup a script and have the script send multiple requests to the pool members through the F5.
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