Forum Discussion

Craig_Jackson_2's avatar
Craig_Jackson_2
Icon for Nimbostratus rankNimbostratus
May 25, 2011

UIE Persistence timeout: idle or elapsed

I've been reading the manuals, and it's not clear to me whether the timeout specified is an idle time or an elapsed time since the creation of the record with "persist add".

 

 

If it's an idle time, presumably using it with "persist uie" would reset the activity timer. Does "persist lookup" reset the activity timer as well?

 

 

Also while I'm asking, if a persistence record does not yet exist, is there any semantic difference to using "persist add" vs using "persist uie"?

 

2 Replies

  • Hi Craig,

     

     

    The persistence timeout is an idle timeout. It's updated each time you call persist or persist add. I'm not sure about persist lookup, but I'd guess that also resets the timer. You could test this using 'b persist uie show all' on the CLI to check the timer after calling only persist lookup from an iRule.

     

     

    I think 'persist uie' dictates that a persistence record should be used and a record added once a load balancing decision has been made whereas 'persist add uie' will add the entry based on the current load balancing decision. That's my understanding anyhow.

     

     

    Aaron