Skip to content

Commit 6b024d3

Browse files
Merge pull request #106115 from Ekta-Microsoft/patch-4
Update virtual-machine-scale-sets-automatic-instance-repairs.md
2 parents b232660 + bf0dae5 commit 6b024d3

File tree

1 file changed

+28
-7
lines changed

1 file changed

+28
-7
lines changed

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

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ The following steps enabling automatic repairs policy when creating a new scale
9494
1. Enable the **Monitor application health** option.
9595
1. Locate the **Automatic repair policy** section.
9696
1. Turn **On** the **Automatic repairs** option.
97-
1. In **Grace period (min)**, specify the grace period in minutes, allowed values are between 30 and 90 minutes.
97+
1. In **Grace period (min)**, specify the grace period in minutes, allowed values are between 10 and 90 minutes.
9898
1. When you're done creating the new scale set, select **Review + create** button.
9999

100100
### REST API
@@ -159,13 +159,34 @@ 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+
> Enable the [Application Health extension](./virtual-machine-scale-sets-health-extension.md) or [Load Balancer health probes](../load-balancer/load-balancer-custom-probe-overview.md) on your Virtual Machine Scale Sets before you start the next steps.
164+
162165
1. Go to an existing Virtual Machine Scale Set.
163-
1. Under **Settings** in the menu on the left, select **Health and repair**.
164-
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**.
166+
2. Under **Settings** in the menu on the left, select **Health and repair**.
167+
3. Enable the **Monitor application health** option.
168+
169+
If you're monitoring your scale set by using the Application Health extension:
170+
171+
4. Choose **Application Health extension** from the Application Health monitor dropdown list.
172+
5. From the **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**.
173+
6. In the **Port number** configuration box, type the network port used to monitor application health.
174+
7. For **Path**, provide the application endpoint path (for example, "/") used to report application health.
175+
176+
> [!NOTE]
177+
> The Application Health extension will ping this path inside each virtual machine in the scale set to get application health status for each instance. If you're using [Binary Health States](./virtual-machine-scale-sets-health-extension.md#binary-health-states) and 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". For more health state options, explore [Rich Health States](./virtual-machine-scale-sets-health-extension.md#binary-versus-rich-health-states).
178+
179+
If you're monitoring your scale set using SLB Health probes:
180+
181+
8. Choose **Load balancer probe** from the Application Health monitor dropdown list.
182+
9. For the Load Balancer health probe, select an existing health probe or create a new health probe for monitoring.
183+
184+
To enable automatic repairs:
185+
186+
10. 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.
187+
11. Turn **On** the **Automatic repairs** option.
188+
12. In **Grace period (min)**, specify the grace period in minutes. Allowed values are between 10 and 90 minutes.
189+
6. When you're done, select **Save**.
169190

170191
### REST API
171192

0 commit comments

Comments
 (0)