Forum Discussion

Kim_Stephan_510's avatar
Kim_Stephan_510
Icon for Nimbostratus rankNimbostratus
Nov 19, 2012

URL to Node persistency

Hello,

I have to write some iRule for Customers and i'm not sure that i'm done correctly, but I can't test it.

Following situation:

Some Application-Servers (Nodes) do sent directly (bypass LTM) to Client some Content and a defined URL. The Client has to work with this content (could be from 5 minutes to 10h) and then use the URL given from the Server (something like this):

https://customer.integration.vendor.com/application

So I've copied ( 😉 ) and changed following iRule:


when HTTP_REQUEST {

   switch -glob [HTTP::uri] {

     "*customer.integration.vendor.com/application 1" { pool poolname member ip port }

     "*customer.integration.vendor.com/application 2" { pool poolname member ip port }

}}



is this working for me? Do I need some case when none of the URLs are matched?

Thank you and kind regards,

Kim

11 Replies