Forum Discussion

Pedro_J__Costa_'s avatar
Pedro_J__Costa_
Icon for Nimbostratus rankNimbostratus
Sep 07, 2016

BIG-IP LTM - Moving connections between pools

Greetings,

 

I've been looking for information regarding on moving connections from a member of one pool to another member that is located in another pool and can't seem to find anything related other than moving connections between members that are within the same pool. The reason is that we want to use one Pool for troubleshooting purposes and enable it only when we want the users to connect to that pool. If there's another user connecting to that pool and there is no reason for them to be there, I would like to force them to connect to another pool without telling them to use another web link. It's basically re-directing them to another pool. I don't know if this can even be done using the iRule method.

 

For example, I would like to force the connections that are getting connected to Member 1 that is in Pool 1 and force them to go to Member 2 in Pool 2.

 

1 Reply

  • Use a simple iRule that will select the pool that contains members for troubleshooting based on health-check or forced-failure manually.

    when HTTP_REQUEST {
    if { [active_members POOL_PRODUCTION < 1] } {
    pool POOL_TSHOOT
    }
    }
    

    If you intend to send traffic to a specific pool member based on existing pool member, you can probably utilize LB_SELECTED event and then a data group that has production pool member and the equivalent troubleshooting pool member and you can make a selection based on the mapping. Hope that gives some idea to move forward.