Forum Discussion

Angelo's avatar
Angelo
Icon for Nimbostratus rankNimbostratus
Mar 25, 2014

LB::select

Hi

 

i need to do the following

 

If any request is received on QZAAPPNA/10.250.38.27 on the port 10200. F5 to check if the ports 10200 and 10297 are UP on server1 or server2. If both ports are UP on server1 alone, send the traffic to port 10200 on server1. If both ports are UP on server2 alone, send the traffic to port 10200 on server2. If both ports are UP on server1 and server2, send the traffic to port 10200 to either server1 or server2. Round-Robin can be used for this. If both ports are DOWN on server1 and server2, no traffic is sent. If 10200 is UP on server1, 10297 is DOWN on server1, 10200 is DOWN on server1 and 10297 is UP on server2, then no traffic is sent. If 10200 is UP on server1, 10297 is UP on server1, 10200 is DOWN on server1 and 10297 is UP on server2, then traffic is sent on port 10200 to server1 alone.

 

i was thinking

 

when LB_SELECTED { if {[LB::server port] == 10200, 10279} { LB::reselect node [LB::server addr] 10200 } }

 

  • Hi Angelo!

     

    You could also achieve this with two monitors on the pool. Check out the monitor settings and you can specify another destination than the members.

     

    Just make sure that the require all monitors option are set in the pool settings.

     

    /Patrik