VMSS automatic instance repairs doesn't work with Load balancers health probe

Jing Chen (陈静) 0 Reputation points
2023-02-03T01:38:15.59+00:00

I want to set VMSS automatic repair, I followed below steps:

  1. Enable application health monitoring for scale set via Load balancer health probes.
    the instance looked like below
    User's image
  2. Enable automatic repair, but why I got a warning ?
    User's image

What should be done next ?

Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
424 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
365 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Prrudram-MSFT 23,211 Reputation points
    2023-02-07T14:40:41.87+00:00

    Hello @Jing Chen (陈静)

    Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.

    The scale set should have application health monitoring for instances enabled. Health monitoring can be done using either Application Health extension or Load balancer health probes, where only one can be enabled at a time.

    I see you have chosen "Load Balancer Probe". Now, before enabling automatic instance repairs policy, ensure that your scale set instances have application endpoint configured to emit the application health status.

    To configure health status using Load balancer health probes, see probe up behavior.

    References:
    https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-custom-probe-overview
    https://learn.microsoft.com/en-us/azure/load-balancer/manage-probes-how-to

    Note: Please note a basic SKU load balancer health probe isn't supported with a virtual machine scale set.

    Let me know in your comments in case you want to further discuss this issue.

    Please accept as answer and upvote if the above information is helpful for the benefit of the community.


  2. Jing Chen (陈静) 0 Reputation points
    2023-02-10T00:39:29.3566667+00:00

    Got replay from Microsoft TS, the warning will not affect the repair function.

    0 comments No comments