Forum Discussion

Pranav_73262's avatar
Pranav_73262
Icon for Nimbostratus rankNimbostratus
Sep 05, 2013
Solved

Universal persistence in GTM

Hi, can we apply iRule for universal persistence in GTM based on jsession ID?

 

when HTTP_REQUEST { set jsess [URI::query [HTTP::uri] vi] if { $jsess != "" } { persist uie $jsess 600 } }

 

Will it work to persist in same DC even though Round Robin is selected for GTM load balancing with TTL of 30 ?

 

  • There is a persistence setting in GTM under the WideIP you can set how long the GTM will persist the request

     

    http://support.f5.com/kb/en-us/products/big-ip_gtm/manuals/product/gtm_config_guide_10/gtm_connections.html?sr=317015371010565

     

4 Replies

  • Richard__Harlan's avatar
    Richard__Harlan
    Historic F5 Account

    GTM works on DNS it will not see the JSESSION ID as this will only happen on HTTP request/response. Now GTM sees the the DNS look up from the LDNS servers, you can persist all query's from the same LDNS to the DC in question. Now if there is a persistence entry it will over ride the LB setting of Round Robin and send the request to the correct DC.

     

    • Pranav_73262's avatar
      Pranav_73262
      Icon for Nimbostratus rankNimbostratus
      Thanks Richard. By 'you can persist all query's from the same LDNS to the DC in question'; are you suggesting TTL value modification or some thing else? Please suggest the way to configure, if otherwise.
  • Richard__Harlan's avatar
    Richard__Harlan
    Historic F5 Account

    There is a persistence setting in GTM under the WideIP you can set how long the GTM will persist the request

     

    http://support.f5.com/kb/en-us/products/big-ip_gtm/manuals/product/gtm_config_guide_10/gtm_connections.html?sr=317015371010565