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 ?

client should persist to same DC for around 10 minutes.

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.

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.

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