Skip to content

Commit dac1363

Browse files
Merge pull request #49714 from sandeepgeorge/patch-10
Clarifying behavior on degraded hardware (Linux)
2 parents ee2d26b + f3df8ab commit dac1363

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/virtual-machines/linux/scheduled-events.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ With Scheduled Events, your application can discover when maintenance will occur
4444
Scheduled Events provides events in the following use cases:
4545

4646
- [Platform initiated maintenance](https://docs.microsoft.com/azure/virtual-machines/linux/maintenance-and-updates) (for example, VM reboot, live migration or memory preserving updates for host)
47-
- Degraded hardware
47+
- Virtual machine is running on [degraded host hardware](https://azure.microsoft.com/en-us/blog/find-out-when-your-virtual-machine-hardware-is-degraded-with-scheduled-events) that is predicted to fail soon
4848
- User-initiated maintenance (for example, a user restarts or redeploys a VM)
4949
- [Spot VM](spot-vms.md) and [Spot scale set](../../virtual-machine-scale-sets/use-spot.md) instance evictions.
5050

@@ -146,6 +146,9 @@ Each event is scheduled a minimum amount of time in the future based on the even
146146
| Preempt | 30 seconds |
147147
| Terminate | [User Configurable](../../virtual-machine-scale-sets/virtual-machine-scale-sets-terminate-notification.md#enable-terminate-notifications): 5 to 15 minutes |
148148

149+
> [!NOTE]
150+
> In some cases, Azure is able to predict host failure due to degraded hardware and will attempt to mitigate disruption to your service by scheduling a migration. Affected virtual machines will receive a scheduled event with a `NotBefore` that is typically a few days in the future. The actual time varies depending on the predicted failure risk assessment. Azure tries to give 7 days' advance notice when possible, but the actual time varies and might be smaller if the prediction is that there is a high chance of the hardware failing imminently. To minimize risk to your service in case the hardware fails before the system-initiated migration, we recommend that you self-redeploy your virtual machine as soon as possible.
151+
149152
### Start an event
150153

151154
After you learn of an upcoming event and finish your logic for graceful shutdown, you can approve the outstanding event by making a `POST` call to Metadata Service with `EventId`. This call indicates to Azure that it can shorten the minimum notification time (when possible).

0 commit comments

Comments
 (0)