Forum Discussion

Dicky_Moe_13167's avatar
Dicky_Moe_13167
Icon for Nimbostratus rankNimbostratus
Feb 11, 2014

irule and source address persistence

Hi Guys,

 

I have these 3 servers (A,B & C) accessing a VIP with one pool of 3 members (1,2 & 3). This VIP has source address persistence and least connections as a LB algorithm. We are experiencing this problem: On a normal situation, we have one path per server pair (A goes to 1, B goes to 2,C goes to 3). When we bring one of the pool members down for maintenance (say, server 3) the new connections are re distributed between the remaining servers (1 & 2). So we have A goes to 1, B and C go to 2 But, when we bring 3 up, it never enters into the LB decision, due to the source address persistence.

 

My question is: can I write an irule that makes the new connections that come from server C start going to server 3 despite the source address persistence? Is there a different way to resolve this?

 

Thanks! Fabian

 

5 Replies

  • Fabian,

     

    What is the persistence timeout set to? I'd think after a timeout the pool member with 0 connections would be selected.

     

    Chris

     

  • Command line is not my strong suite but this should tell you the profile properties. This is assuming the name of the persistence profile is source_addr.

     

    b profile persist source_addr list all