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.
Depending on the reason for doing it.
Its not for an IDS device is it ?
No, it’s not an IDS device. These are two identical web server, the following url trigger’s cache clear command.
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.
It isn’t elegant but you can do it:
Personally, I’d rather just setup a script and have the script send multiple requests to the pool members through the F5.