Forum Discussion

R_Marc's avatar
R_Marc
Icon for Nimbostratus rankNimbostratus
Oct 29, 2012

Pool member traffic control

I'm trying to get better control over some pool members. My pool consists of 4 members with a priority grouping. I need to only send traffic to one member at any given time. The F5 seems to want to allow connections to finish first. In this case, I actually don't want that. I want all traffic to the node to stop, immediately.

 

Is there some parameter I can apply to force the behavior I'm trying to achieve. I need this to happen in an automated fashion.

 

 

ltm pool /Common/Priceless-Pool {

 

members {

 

/Common/cds80-tcup1:tlisrv {

 

address 10.0.0.122

 

monitor /Common/tcup1

 

priority-group 50

 

}

 

/Common/cds81-tcup2:tlisrv {

 

address 10.0.0.123

 

monitor /Common/tcup2

 

priority-group 25

 

session user-disabled

 

state user-down

 

}

 

/Common/cds82-tcups1:tlisrv {

 

address 10.0.0.25

 

monitor /Common/tcups1

 

priority-group 100

 

}

 

/Common/cds83-tcups2:tlisrv {

 

address 10.0.0.26

 

monitor /Common/tcups2

 

priority-group 75

 

}

 

}

 

min-active-members 1

 

}

 

 

3 Replies

  • R_Marc's avatar
    R_Marc
    Icon for Nimbostratus rankNimbostratus
    That will work for moving down the priority list, but it won't on the way back, unless I mark the active service down at the same time I enable the higher priority member. I guess I can script that, but I was hoping for something automagic. Perhaps an iRule.
  • The F5 seems to want to allow connections to finish first. In this case, I actually don't want that. I want all traffic to the node to stop, immediately.i understand there is log when pool member status changes (up/down). is configuring action on log (e.g. tmsh script) helpful?

     

     

    Acton on Log - using the alertd deamon

     

    https://devcentral.f5.com/wiki/advdesignconfig.acton-on-log-using-the-alertd-deamon.ashx