Forum Discussion

taro_112311's avatar
taro_112311
Icon for Nimbostratus rankNimbostratus
Jun 12, 2008

Is the Static Persist mode used with what kind of case on the GTM?

I guess a persistence setting of the pool of the wide IP's properties is usually used to do persistent.

 

 

Is the Static Persist mode used with what kind of case on the GTM? And, how does the GTM select the virtual server for the first request in the Static Persist mode?

 

 

  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    Static persistence on GTM is useful if the client must stick to the same server once it is chosen, usually because of a stateful application, such as a shopping cart or locally authenticated site.

     

     

    The first server will be selected based on the load balancing method configured for the WideIP.

     

     

    Post back if that didn't answer your question...

     

     

    HTH

     

    /deb

     

  • Thanks, deb.

     

     

    If I choose the Static Persist for preferred method, how does the GTM select the virtual server within the pool for the first request?

     

  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    Load balancing happens first based on the defined load balancing method for the WideIP.

     

     

    The GTM manual contains info about WideIp load balancing methods. (Click here)

     

     

    Once a server is selected for load balancing, the persistence method chosen will create a persistence record. If the same LDNS requests the same resolution before the persistence record expires, the same answer will be handed out if it is available.

     

     

    /d

     

     

  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    In other words, persistence has nothing to do with the load balancing of the initial request. that is determined solely by the load balancing method on the wideIP.
  • Thanks, deb.

     

    However, I guess that you have misunderstood my question.

     

     

    I talk about "Static Persist" load balancing mode that is described in "Using static load balancing modes" in Chapter 7 in the Configuration Guide for GTM, though you talk about "Establishing persistent connections" in Chapter 8.

     

     

    taro
  • Taro,

     

     

    Static persist is the only persistence I use on the GTM. Wide IP persistence doesn't have a "Static Persist CIDR" setting that Static Persist uses to fix ISP's using some form of load balanced DNS. So Wide IP persistence doesn't provide persistence for users that have load balanced DNS.

     

     

    There seems to be limited documentation on how static persist work. The answer to your question is that static persist uses an algorithm.

     

     

    What I know is that the static persist load-balancing mode uses the persist mask with the LDNS address in a deterministic algorithm to map to a specific pool member in a pool. Given the order or number of the pool members is not changed, the LDNS address will always be mapped to the same pool member.

     

     

    The algorithm is deterministic and it will result in the same pool member being picked for the same LDNS no matter which gtmd is running the algorithm.