Forum Discussion

Dormelchen_2406's avatar
Dormelchen_2406
Icon for Nimbostratus rankNimbostratus
Oct 07, 2016

Persistence across 2 different pools in one VIP

hello together, i searched a while here and found some similar questions, but all referencing urls are not available anymore..

 

So - what is the problem? We have on VIP - in the irule we have 2 different URLs. URL1 -> pool1 URL2 -> pool2

 

when someone requests URL1 -> pool1 -> server1, there a user can maybe click on a button and will be redirected to URL2. but then, the user may land on server2.

 

The user should land on server1.

 

How to resolve this, that the client will be redirected to server1 everytime no matter which URL ? keep in mind, every pool (pool1 and pool2) containing 5 servers.

 

I hope you understand my question Thanks

 

1 Reply

  • As long as both pools have the same Nodes as Pool Member set the persistence profile with the following enabled:

     

    • Match Across Services
    • Match Across Pools

    Match Across Services will allow persistence records to match by the IP of the pool member and ignore service. Match Across Pools does just that, allow the persistence records to match across multiple pools.

     

    See: sol5837: Match Across options for session persistence

     

    If your pools do not share Nodes as Pool Members then you will need to look at using an 'Universal Persistence' profile and righting an iRule to set and match persistence records.