APM Virtual Health Check
I have a virtual which is used for Edge Client connections – vpn.company.com. Since I am assigning the user an IP from a lease pool and I have a default route pointing to my internal network I have no pool assigned to the virtual. Since there is no pool there is no health check and therefore the virtual comes up Blue (which is fine).
I noticed while working on an iRule associated with this virtual that when I mentioned a pool name in the iRule that the virtual suddenly went Green. The irule can be something as simple as:
when HTTP_REQUEST {
if { 1 == 2 } { log -noname local0. "[active_members /Common/test_pool]" }
}
Now the status of the Virtual follows the status of the pool called “test_pool”.
My question is if this is the expected bahavior or is this a fluke? Could I actually use something like the above to add a health check to a virtual which does not have a pool directly attached to it?
Thanks
APM 12.1