@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
Application Gateway http redirect when health probe error with backend pool
Erwin Bainto
21
Reputation points
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.
1 answer
Sort by: Most helpful
-
Tchimwa Sougang 931 Reputation points Microsoft Employee
2022-05-27T17:33:51.087+00:00