Disabling VIP based on pool member availability.

Hey guys! I got one that seemed easy on the surface, but I haven’t been able to come up with a graceful solution. I have a very typical set up. 2 HTTPS VIPs, and a WIP. Customer wants to mark the VIP down when 2 of the 3 servers are offline.

Any ideas on how to accomplish this cleanly,.. meaning no external monitors or extra WIPs/VIPs for just monitoring.

Any input is appreciated!!!

D

Could this work?

iRule example from the wiki:

when DNS_REQUEST {
  if { [nodes_up 10.10.10.10 80] < 4 } {
    pool pool-example-com-backup
  }
}

I also had an idea about using an iRule and IP aliases, but I think that would be more complex than this.

/Patrik