LTM load balancing source server to destination server primary/backup

Hi There,

Within F5, what would be the best solution ( or does anyone have any similar scenarios) for the below requirements?

Two source servers ( X, Y) need to target one VIP ( A) which contains two servers ( B, C).

X needs to hit A, then be directed to B unless this is marked down in which it will then go to C.

Y needs to hit A, then be directed to C unless this is marked down in which it will then go to B.

Thanks in advance!

Hi,

you can reach this:

  1. Create 3 pools: 1 - for all unspecified connection, 2 - pool for X with priority group activation server B with higher priority, 2 - pool for Y with priority group activation server C with higher priority.

  2. Define pool_1 as default for VIP.

  3. Use irule for redirection servers X,Y to pools:

    when HTTP_REQUEST { 
       if { [IP::addr [IP::client_addr] equals X_ip] } { 
    pool pool_X 
    } else if  { [IP::addr [IP::client_addr] equals Y_ip] } { 
     pool pool_Y 
     }  
     }
    

Condition for priority group activation is “Less than 1”

Thanks for your feedback. This was my draft design I came up with, I just wanted to make sure there were no simpler options - thanks!