For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Meena_60179's avatar
Meena_60179
Icon for Nimbostratus rankNimbostratus
May 05, 2010

Help with JSESSIONID persistence

Hello, I am using tomcat's JSESSIONID for persistence and I created iRule using this example http://devcentral.f5.com/wiki/default.aspx/iRules/Weblogic_JSessionID_Persistence.html However I have couple of doubts here, I am not sure that whether I need to configure default persistence profile with the pool or not, if so how can I do that? Second, when I reload the app with in sessiontimeout period BIG IP sends request to another server, so I want to know why reloading is breaking the persistence setting even though JSESSIONID is with the request. Thanks for the help.

11 Replies

  • I also persist for some times and without me doing anything bigip deletes the entry in persistent table, and then next request is forwarded to different node (say 1.2). I am not deleting JSESSIONID, if I wait for sometime BIGIP again deletes persistence entry for 1.2 and recreates new entry for 1.1 after next request. I think 3600 should be the timeout for bigIP, which means an hour ??

    Here is the configuration for my virtual server:

    
    VIRTUAL ADDRESS 17.184.8.110   UNIT 1
    |     ARP enable
    |     (cur, max, limit, tot) = (0, 5, 0, 51)
    |     (pkts,bits) in = (4912, 5.243M), out = (17229, 77.93M)
    +-> VIRTUAL vs_uie_appserver   SERVICE http
        |     PVA acceleration none
        |     (cur, max, limit, tot) = (0, 5, 0, 51)
        |     (pkts,bits) in = (4912, 5.243M), out = (17229, 77.93M)
        |     requests (total) = 374
        +-> POOL test_uie_pool  LB METHOD round robin   MIN/CUR ACTIVE MEMBERS 0/2
            |     (cur, max, limit, tot) = (0, 6, 0, 36)
            |     (pkts,bits) in = (4710, 5.233M), out = (7086, 74.11M)
            +-> POOL MEMBER test_uie_pool/192.168.1.1:webcache   active,up
            |   |     session enabled    priority 0    ratio 1
            |   |     (cur, max, limit, tot) = (0, 3, 0, 18)
            |   |     (pkts,bits) in = (2857, 3.278M), out = (4276, 44.76M)
            |   |     requests (total) = 237
            +-> POOL MEMBER test_uie_pool/192.168.1.2:webcache   active,up
                |     session enabled    priority 0    ratio 1
                |     (cur, max, limit, tot) = (0, 3, 0, 18)
                |     (pkts,bits) in = (1853, 1.954M), out = (2810, 29.35M)
                |     requests (total) = 137
    

    Thanks for the help.