Skip to content

Commit 9b7dcea

Browse files
Merge pull request #1 from hilaryw29/patch-5
Update virtual-machine-scale-sets-automatic-instance-repairs.md
2 parents a15af21 + b57ca5b commit 9b7dcea

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

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

Lines changed: 20 additions & 10 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
@@ -160,22 +160,32 @@ After updating the model of an existing scale set, ensure that the latest model
160160
You can modify the automatic repairs policy of an existing scale set through the Azure portal.
161161

162162
> **NOTE**
163-
> Install the Application Health Extension in your VMSS before following the below steps.
163+
> Make sure you have [Application Health extension](./virtual-machine-scale-sets-health-extension.md) or [Load balancer health probes](../load-balancer/load-balancer-custom-probe-overview.md) enabled on your VMSS before following the below steps.
164164
165165
1. Go to an existing Virtual Machine Scale Set.
166-
1. Under **Settings** in the menu on the left, select **Health and repair**.
167-
1. Enable the **Monitor application health** option.
168-
4. Choose **Application Health extension** from the Application health monitor dropdown list to monitor application health using the Application Health VM extension.
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 are monitoring your scale set using Application Health extension:
170+
171+
4. Choose **Application Health extension** from the Application health monitor dropdown list.
169172
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**.
170173
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.
174+
7. For **Path**, provide the application endpoint path (e.g. "/") used to report application health.
172175

173176
> **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".
177+
> 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 are 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 are 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 Load balancer health probe, select an existing health probe or create a new health probe for monitoring
183+
184+
To enable automatic repairs:
175185

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.
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.
179189
6. When you're done, select **Save**.
180190

181191
### REST API

0 commit comments

Comments
 (0)