Forum Discussion

Nagaraj_65551's avatar
Nagaraj_65551
Icon for Nimbostratus rankNimbostratus
Jul 20, 2015

Web based URL hosted in F5 is getting logged off often while user working in it

Hi Team, I have https web based URL hosted in F5 LTM. I totally have three context path/URI under single domain, each URI represents different application and mapped with different pool members

 

Two of them are configured with i-rule and one is configured with default pool members. All pool members have more than one node and so configured with http cookie based persistence.

 

I have tested application. Below is the result. Test 1: Application URI configured with default pool have no issue and working fine Applications URI configured with I rule( http cookie persistence) are having issue with automatic log out. Test 2: Disabling the i-Rule, enabling each URI pool members as default rule separately and tested. In that case all application working fine with out an issue on log out

 

It seems , the persistence setting applied in that i-rule is not working properly Can you please help with some clue and solution.

 

Regards, Nagaraj

 

2 Replies

  • sorry, too little information. at least post your (sanitized) config.
  • I have public domain called https://abc.com I have hosted three application under this abc.com domain includes https://abc.com/def, https://abc.com/ghi and https://abc.com/jkl

     

    These application use three different pool members namely as below https://abc.com/def- def_pool https://abc.com/ghi - ghi_pool https://abc.com/jkl - jkl_pool

     

    I have three different http cookie persistence for three pools - def_pool- def_http_cookie - Expiration is set to 1day ghi_pool- ghi_http_cookie -Expiration is set to 1day jkl_pool- jkl_http_cookie- Expiration is set to 1day

     

    VIP configuration follows VIP - abc.com , I have done following configuration under this VIP I have mapped default pool as jkl_pool and default persistence as jkl_http_cookie . Remaining application I called in the i-Rule and i-Rule configuration follows

     

    when HTTP_REQUEST { if { [HTTP::uri] contains "def" } { pool def_pool persist cookie insert def_http_cookie

     

    } elseif { [HTTP::uri] contains "ghi" } { pool ghi_pool persist cookie insert ghi_http_cookie }

     

    }

     

    Testing : 1) with above configuration - URL https://abc.com/jkl works fine, URLs https://abc.com/def, https://abc.com/ghi are facing with logged off issue often while user working on these URLs 2) I removed the i-Rule configuration and configure these URLs https://abc.com/def, https://abc.com/ghi with default pool members and default persistence profile Individually one by one and tested and I did not face log off issue.

     

    So I guess when I have i-Rule configuration with persistence setting and its not working as expected. I think , it makes clear point to you now. please suggest your views