Making Virtual Server Unavailable when a percentage of pool members go down

Hi,

LTM newbie here, so apologies if this is simple but I’m struggling to find the answer.

I have a pool of 8 proxy servers (not transparent) and what I would like is for the virtual server to become unavailable when (for example) 4 out of 8 of these proxies are unavailable. I require the virtual server to become unavailable as there is a (non-F5) DNS-based load balancer downstream that uses ICMP echo to determine the health of the virtual server and I’ve configured the virtual address accordingly.

I’m not performing any health checks at the node or member level but have 3 health checks configured at the pool level (all of must be up).

If anyone could assist with this I’d be very grateful!

Thanks, Jon.

try this:

when CLIENT_ACCEPTED {
  if { [active_members http_pool] < 4 } {
    reject
  }
}

But GTM (instead of simple DNS load balancing) may answer your need to load balance clients to different VS based on each capacities.

Hi,

did you look this question?