Forum Discussion

mahnsc's avatar
mahnsc
Icon for Nimbostratus rankNimbostratus
Jul 29, 2010

Persistence Profile Best Practice

Hi everyone. I have several distinct virtual servers making use of a common jsession persistence irule--all storing data within the same universal persistence profile. My question is: Am I nuts to be doing this? Should I be using unique universal persistence profiles per Virtual Server or does this not really make a difference?
  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Hi Chris,

     

     

    You can use the same UIE persistence profile if you don't want any of the persistence records shared. Persistence records aren't shared across virtual servers, services or pools unless you enable the option on the UIE persistence profile or in an iRule. See the following articles for more info:

     

     

    SOL5837: Match Across options for session persistence

     

    https://support.f5.com/kb/en-us/solutions/public/5000/800/sol5837.html

     

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/persist

     

    persist add < mode > < key > [< timeout >]

     

    < key > = < mode specific value > | { < value > [any virtual|service|pool][.b] [pool < name >] }

     

    the latter key specification is used to add persistence entries that can be used across virtuals, services, or pools.

     

     

     

    Aaron