For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

nertolf28200's avatar
nertolf28200
Icon for Nimbostratus rankNimbostratus
Aug 27, 2018

iRule for reset TCP connection if pool down

Hello, I have a kind of health monitor for my DNS (tcp half open) which check every 30sec the VS on my F5 LTM.

I would like the LTM reset connection when the VS is down. I tried this irule, my flow is deny by BIG IP even if I have my VS up.

when FLOW_INIT {
   if { [active_members [LB::server pool]] == 0 } {
      reject
   }

Thanks for your help!

2 Replies

  • The irule doesn't work because you can not use a LB: (loadbalance) when FLOW_INIT - there hasn't been a LB decision yet.

     

    use something like: when FLOW_INIT { if { [active_members http-pool] == 0 } { reset } }