Forum Discussion

David_G__33241's avatar
David_G__33241
Icon for Nimbostratus rankNimbostratus
Aug 22, 2016

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

1 Reply

  • This is expected behavior. If you use a pool command in an irule that doesn't come out of something like a datagroup, then the system will notice this and use it to assign a state to the VIP. I believe multiple pool definitions would all contribute to the health of the VIP, in addition to the default pool.

     

    If you check the network map it should show you that the pool is associated with the virtual service.