Forum Discussion

EFFFIVE_26332's avatar
EFFFIVE_26332
Icon for Nimbostratus rankNimbostratus
Nov 29, 2010

Sticky Persistence across 3 VIPs different IPs and Ports

My clients want me to load balance with sticky three tiers of applications.

 

First would be the web-tier. The webserver is set-up to with one IP address and two ports

 

First VIP1 -10.123.a.a

 

Pool members (Does this have to be a wildcard VIP?)

 

10.b.b.b:80

 

10.b.b.b:90

 

The application will then push sticky to VIP2 - 10.123.c.c

 

Pool members

 

10.d.d.d:8080

 

10.d.d.d:8080

 

These will send sticky requests to the same 10.d.d.d IP addresses, different ports.

 

Pool members

 

10.d.d.d:5601

 

10.d.d.d:5601

 

The info will be sent sticky to VIP 3 - 10.123.e.e

 

Pool members

 

10.f.f.f:8080

 

10.f.f.f:8080

 

Can anyone lead me in the proper direction as to how to get this done? I guess that I will have to write an iRule but I’m not sure. I watched Deb & Colin’s video on sticky persistence across VIPs but it seems their solution was helped by the fact that the second VIP used the same pool member IPs. Can check boxes be used for this solution? How many pools do I need on the 2 VIP?

 

The F5 that I would put this on, is currently already in production. Thanks

 

 

 

 

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

 

:: LTM v9.4.8 ::

 

:: VIP 1 VIP 2 VIP 3 ::

 

:: in : port80 or Wildcard? Port: Wild card?? Port: Wildcard or 8080?::

 

:: ______________ ______________ ______________ ::

 

:: {pool mem:80 } {:5601 >> :8080} {:8080 } ::

 

:: {pool mem:90 } {:5601 >> :8080} {:8080 } ::

 

:: ------------------------- ______________ ------------------- ::

 

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

 

 

 

 

 

 

 

3 Replies

  • Hi EFFFIVE,

     

     

    Thanks for detailing the virtual server and pool configurations. As the pool member IP and ports are almost all different across the three pools, I don't see any intuitive logic for persisting "client" requests. Can you clarify what logic you want to implement here?

     

     

    Aaron
  • Authentication. A session has to be kept alive across the three different tiers. In the past I have done active passive on something like this to avoid a messy irule.
  • As far as logic I can get our applications people speaking with F5 to see if we can streamline things more efficiently but right now I need two questions answered. Can we do this on the F5? How?