Forum Discussion

Marcel_Derksen_'s avatar
Marcel_Derksen_
Icon for Nimbostratus rankNimbostratus
Mar 07, 2006

Persistency on pool or virtual server

Hi,

 

We are building an iRule to get different levels of persistency. The question is whether the persist command in the iRule creates persistency on a pool level or on a Virtual server level? The customer has one virtual server with more than one application and needs to load balance to more than one pool. Therefore it is important to have persistency on a pool level. Can someone confirm whether the persist command creates persistency on a pool level or on a virtual server level.
  • unRuleY_95363's avatar
    unRuleY_95363
    Historic F5 Account
    Persistence entries are created on both the virtual server and pool level. There are settings in the persist profile that effect how persist entries are matched (across virtuals, across services, and across pools). So, if they want persistence on the pool level, they shouldn't have to do anything special.
  • So to make it concreet. If we generate a speciaal cookie based on the session from the client on a virtual level and we persist and load balance in the iRule based on information in the URI the persistency will work on the pool eventhough we use the same cookie on different pools.