Forum Discussion

XITO_122925's avatar
XITO_122925
Icon for Nimbostratus rankNimbostratus
Aug 15, 2018

persistence profile and two vip

Hi community

 

I have a special use case and hope someone has an idea.

 

I have to create an environment with F5 load balancer (round robin), persistence profile, snat (automap), two proxy for A/B testing and 5 application server.

 

In the picture below you see the flow of the connection

 

 

The goals:

 

  • We have to use all the application server. Each server should have 20% of the load
  • The customer session (session lifetime) have to land always on the same app server. So we need a persistence profile
  • The proxy server and the application server are it the same network, so we configure snat (automap)

The question:

 

  • Where do I have to configure the persistence profile? One the F5 Proxy Virtual Server or on the F5 App Virtual Server or both?

I configured two different cookie persistence profile on both virtual server. The persistence profile works but I always land only on two application server from 5. For testing we used a load testing tool with 20 different source IP, all the sessions land only one two application servers.

 

1 Reply

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    Assuming I understand your setup right (Nice diagram BTW), you want to put your persistence on the second (App VS) BigIP. Persistence is to keep you hitting the same backend. So on the proxy, it doesn't make sense. As it looks like the proxy only hits the 1 app VS.

     

    I don't really understand why you need so many layers, but I won't try to understand that here.

     

    Check what you're persisting on. It may be that you're persisting at the app VS on the source IP. And you'll only be seeing 2 of them (1 for each proxy server).