Skip to content

Commit a15af21

Browse files
Update virtual-machine-scale-sets-automatic-instance-repairs.md
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.
1 parent 839853a commit a15af21

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

articles/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-instance-repairs.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,24 @@ After updating the model of an existing scale set, ensure that the latest model
159159

160160
You can modify the automatic repairs policy of an existing scale set through the Azure portal.
161161

162+
> **NOTE**
163+
> Install the Application Health Extension in your VMSS before following the below steps.
164+
162165
1. Go to an existing Virtual Machine Scale Set.
163166
1. Under **Settings** in the menu on the left, select **Health and repair**.
164167
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.
179+
6. When you're done, select **Save**.
169180

170181
### REST API
171182

0 commit comments

Comments
 (0)