Forum Discussion

swjo_264656's avatar
swjo_264656
Icon for Cirrostratus rankCirrostratus
Aug 28, 2016

load balancing to specific pool member

I have a questions and I thought a lot. but not solved clearly. would you help me?

 

One pool named pool_30 and two pool members 30.30.30.10(priority 10) & 30.30.30.20(priority 1)

 

my questions are below

 

  1. if pool member 30.20 down, traffic will go to 30.30. and 30.20 up, Regardless of priority, I want all traffic go to 30.30

     

  2. when pool member down, load balancing to pool another pool member have some delay. how can I solve?

     

I config iRule, confirm and have good idea. advice me thanks

 

when CLIENT_ACCEPTED { if {[LB::status pool pool_30 member 30.30.30.10 80] eq "up"} { log local0. "Active members are : 30.30.30.10 80" pool pool_30 member 30.30.30.10 80 } else { log local0. "Active members are : 30.30.30.20 80" pool pool_30 member 30.30.30.20 80 return } }

 

1 Reply

  • Hi Swjo,

     

    you don't need an iRule to create an Primary/Secondary pool member setup. Just use the Priority Group Activation feature in combination with the OneConnect feature (a Layer7 Virtual Server with HTTP profile is required).

     

    OneConnect will force a LB decission on each single Web request and will then forward the individual request based on the current Priority Activation Group availability.

     

    sol7208: Overview of the OneConnect profile: Content Switching

     

    https://support.f5.com/kb/en-us/solutions/public/7000/200/sol7208.html

     

    Configuring Load Balancing Pools: Specifying priority-based member activation

     

    https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm_configuration_guide_10_0_0/ltm_pools.html

     

    Cheers, Kai