Application Gateway http redirect when health probe error with backend pool

Erwin Bainto 21 Reputation points
2022-05-27T13:08:45.547+00:00

hi,
Does, anyone know to redirect traffic to healthy virtual machine when health probe detected an issue on the default pool in the application gateway?

Thanks for your help.

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
958 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tchimwa Sougang 931 Reputation points Microsoft Employee
    2022-05-27T17:33:51.087+00:00

    @Erwin Bainto Thank you for your question. In fact, if both VMs are part of the same pool, there is nothing to do because it will be done automatically. When a VM fails to respond to the probe with the expected HTTP response, the AppGW automatically takes it out of the rotation and only keep the VM responding successfully to the probe. The VM supposed healthy will be the only the only one responding to the requests coming from the customers and routed to the backend by the AppGW.
    https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-probe-overview

    0 comments No comments