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
Copy file name to clipboardExpand all lines: articles/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-instance-repairs.md
+20-10Lines changed: 20 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ The following steps enabling automatic repairs policy when creating a new scale
94
94
1. Enable the **Monitor application health** option.
95
95
1. Locate the **Automatic repair policy** section.
96
96
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.
98
98
1. When you're done creating the new scale set, select **Review + create** button.
99
99
100
100
### REST API
@@ -160,22 +160,32 @@ After updating the model of an existing scale set, ensure that the latest model
160
160
You can modify the automatic repairs policy of an existing scale set through the Azure portal.
161
161
162
162
> **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.
164
164
165
165
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.
169
172
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
173
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.
172
175
173
176
> **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:
175
185
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.
0 commit comments