Forum Discussion

Daniel_AIG_2459's avatar
Daniel_AIG_2459
Icon for Nimbostratus rankNimbostratus
Jul 11, 2016

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

  • 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

     

  • 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.

     

  • This article may be of use: https://devcentral.f5.com/articles/http-request-cloning-via-irules-part-1

     

  • 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.