You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working as an Azure Cloud Engineer in Microsoft. Recently I received a customer support request where the customer was unclear about what he needs to mention in the "Path" field while enabling the Health and Repair option for his existing VMSS. When I checked this existing Microsoft document, I found that the exact steps are not mentioned in it and hence tried to update it with more granular/descriptive way.
Please verify from your end and provide your feedback.
Copy file name to clipboardExpand all lines: articles/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-instance-repairs.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,13 +159,24 @@ After updating the model of an existing scale set, ensure that the latest model
159
159
160
160
You can modify the automatic repairs policy of an existing scale set through the Azure portal.
161
161
162
+
> **NOTE**
163
+
> Install the Application Health Extension in your VMSS before following the below steps.
164
+
162
165
1. Go to an existing Virtual Machine Scale Set.
163
166
1. Under **Settings** in the menu on the left, select **Health and repair**.
164
167
1. Enable the **Monitor application health** option.
165
-
1. Locate the **Automatic repair policy** section.
166
-
1. Turn **On** the **Automatic repairs** option.
167
-
1. In **Grace period (min)**, specify the grace period in minutes, allowed values are between 30 and 90 minutes.
168
-
1. When you're done, select **Save**.
168
+
4. Choose **Application Health extension** from the Application health monitor dropdown list to monitor application health using the Application Health VM extension.
169
+
5. From **Protocol** dropdown list, choose the network protocol used by your application to report health. Select the appropriate protocol based on your application requirements. Protocol options are **HTTP, HTTPS** or **TCP**.
170
+
6. In the **Port number** configuration box, type the network port used to monitor application health.
171
+
7. For **Path**, provide the application endpoint path (e.g. "/" or ") used to report application health.
172
+
173
+
> **NOTE**
174
+
> Application Health extension will ping this path inside each virtual machine in the scale set to get application health status for each instance.If the endpoint responds with a status 200 (OK), then the instance is marked as "Healthy". In all the other cases (including if the endpoint is unreachable), the instance is marked "Unhealthy".
175
+
176
+
8. Locate the **Automatic repair policy** section. Automatic repairs can be used to delete unhealthy instances from the scale set and create new ones to replace them.
177
+
4. Turn **On** the **Automatic repairs** option.
178
+
5. In **Grace period (min)**, specify the grace period in minutes, allowed values are between 30 and 90 minutes.
0 commit comments