How to stop specific nodes in Azure App Gateway

Mahesh Aralelemath 71 Reputation points
2023-10-19T05:07:01.6633333+00:00

Hi,

We have few servers behind the Azure App Gateway. We wanted to take out specific nodes while updating the patches or app package till the time testing is completed.

Is there any option to mark specific node as maintenance? so that App Gateway wont be sending any traffic to these nodes till these nodes maintenance switch is turned off?

I know the health probe monitoring but that is good when service is down but here the ask is to stop the node participating in backend pool while it is in patching and testing stage.

Appreciate any thoughts on this.

Regards

Mahesh

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

Accepted answer
  1. KapilAnanth-MSFT 49,536 Reputation points Microsoft Employee Moderator
    2023-10-20T06:20:28.9766667+00:00

    @Mahesh Aralelemath

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that you are looking for a solution to "disable" a backend pool member.

    Currently, we do not have a feature that would do this implicitly.

    As stated by Sedat SALMAN , you can consider Connection draining and run the powershell command Set-AzApplicationGatewayBackendAddressPool

    I suggested you may request this feature in the forum : Azure Feedback hub.

    You informed us you have created one and we can archive this thread.

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Sedat SALMAN 14,180 Reputation points MVP
    2023-10-19T05:47:17.44+00:00

    Connection draining helps you achieve graceful removal of backend pool members during planned service updates or problems with backend health. This setting is enabled via the Backend Setting and is applied to all backend pool members during rule creation.

    You can check the following link: https://learn.microsoft.com/en-us/azure/application-gateway/features

    or

    A more direct way to temporarily stop nodes is to manually remove them from the backend pool using the Remove-AzApplicationGatewayBackendAddressPool command. This will prevent the Application Gateway from sending any traffic to these nodes until they are re-added to the backend pool​


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.