Forum Discussion

Moinul_Rony's avatar
Moinul_Rony
Icon for Altostratus rankAltostratus
Jan 17, 2014

How to trigger a iRule on a specific Virtual server connection?

Hi I am trying to trouble shoot a JSESSION hopping behaviour in our tomcat application and relate it to see if this is a f5 session persistence issue. I have a iRule but want it only to log when any request is made to the affected Virtual server or Maybe a pool of node.

 

Any assistance in this regard would be great.

 

when HTTP_REQUEST { log local0. "[IP::client_addr],[HTTP::uri],[HTTP::header User-Agent],[HTTP::cookie value JSESSIONID],[HTTP::cookie value BIGipServerPool_HTTPS_Ecommerce_DISCOnline_XS]" } Thanks, - Rony

 

2 Replies

  • Emad's avatar
    Emad
    Icon for Cirrostratus rankCirrostratus

    Moinul if you attach this irule with any VIP it will start executing on each HTTP request, now it depends on your criteria for which specific request this should be logged. What issue you are having in persisting traffic request via JSESSIONID?

     

  • In regards to your original persistence issue - make sure you have oneconnect enabled.