Forum Discussion
Multiple actions form single URL with iRule
I need to give my customers the ability to run a server side action (flushing our custom software's cache) from a URL.
I have written a page that when accessed on the server via http will flush the cache, but it'll only do it on the on that specific server that the load balancer chooses, therefore I need a way of sending four URLs to clear all four servers.
My idea is to also give the customer a unique URL with say "http://customer.com/flush" and then write an irule to look from "/flush" and fire off:
http://1/serverflush
http://2/serverflush
http://3/serverflush
http://4/serverflush
We don't care what the response of the individual servers are, just that they receive the request from the F5.
It's not exactly a fantastic plan I know, but it only has to work for the next month while we rewrite our software to handle it properly.
Does anyone have any examples of an iRule that can do this type of action.
Thanks,
Adam
- Ben_95489NimbostratusHey Adam,
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