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-machines/updates-maintenance-overview.md
+40-56Lines changed: 40 additions & 56 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,90 +9,74 @@ ms.date: 02/28/2023
9
9
ms.reviewer: cynthn
10
10
---
11
11
12
-
# Updates and maintenance overview
12
+
# Guest updates and host maintenance overview
13
13
14
14
**Applies to:**:heavy_check_mark: Linux VMs :heavy_check_mark: Windows VMs :heavy_check_mark: Flexible scale sets :heavy_check_mark: Uniform scale sets
15
15
16
-
This article provides an overview of the various update and maintenance options for Azure virtual machines (VMs).
16
+
This article provides an overview of the various guest updates and host maintenance options for Azure virtual machines (VMs).
17
17
18
-
## Automatic OS image upgrade
18
+
Azure periodically updates its infrastructure to improve reliability, performance, security or to launch new features. Most updates are transparent to the customers. To incorporate these updates Azure uses a robust infrastructure including region pairs, availability zones in combination with multiple tools and features. Azure also offers customers the ability to control updates on various Azure machines including Virtual Machine Scale Sets, Host Machines, Guest Virtual Machines and Extensions attached to VMs. This control is possible through maintenance configurations which customers can use to set up recurring schedules for when they want available platform updates to occur.
19
19
20
-
Enabling [automatic OS image upgrades](../virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade.md?context=/azure/virtual-machines/context/context) on your scale set helps ease update management by safely and automatically upgrading the OS disk for all instances in the scale set.
20
+
Azure infrastructure updates can range from upgrading network components, decommissioning hardware on network, patching software components in hosting environment or updating guest OS/ software’s on VMs. Each of these updates are performed using different tools available in Azure.
21
21
22
-
[Automatic OS upgrade](../virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade.md?context=/azure/virtual-machines/context/context) has the following characteristics:
22
+
## Platform maintenance
23
+
Platform maintenance comprises of updates applied for networking components like Top of the Rack (TOR) Switch or host environments like Dedicated hosts/Isolated VMs/Shared hosts. Host updates are done on the physical host environment where VMs reside and are transparent to the customers most of the time. However, some updates can require the residing VMs to freeze (non-rebootful updates) or reboot (rebootful updates). When these no-impact updates are performed, Azure chooses the update mechanism that's least impactful to customer VMs.
23
24
24
-
- Once configured, the latest OS image published by image publishers is automatically applied to the scale set without user intervention.
25
-
- Upgrades batches of instances in a rolling manner each time a new image is published by the publisher.
26
-
- Integrates with application health probes and [Application Health extension](../virtual-machine-scale-sets/virtual-machine-scale-sets-health-extension.md?context=/azure/virtual-machines/context/context).
27
-
- Works for all VM sizes, and for both Windows and Linux images.
28
-
- You can opt out of automatic upgrades at any time (OS Upgrades can be initiated manually as well).
29
-
- The OS Disk of a VM is replaced with the new OS Disk created with latest image version. Configured extensions and custom data scripts are run, while persisted data disks are retained.
30
-
-[Extension sequencing](../virtual-machine-scale-sets/virtual-machine-scale-sets-extension-sequencing.md?context=/azure/virtual-machines/context/context) is supported.
31
-
- Automatic OS image upgrade can be enabled on a scale set of any size.
25
+
### Host maintenance that requires a reboot and that doesn't require a reboot
26
+
27
+
During Azure host maintenance updates, VMs either freeze, reboot or live migrate to another host. Host maintenance updates that require reboot are called *rebootful updates* while the updates that cause VMs to pause/freeze for >=1 second are called *non-rebootful updates*.
32
28
29
+
### Dedicated hosts/Isolated VMs vs Shared Hosts
30
+
31
+
Host maintenance and experience are available for Dedicated host, Isolated VMs, and Shared hosts. Dedicated hosts are hosts in which all VMs are owned by one customer. Shared hosts are hosts in which VMs from multiple customers might reside together in one host. Isolated VMs are large machines that are isolated to a specific hardware type and dedicated to a single customer.
33
32
34
-
## Automatic VM guest patching
33
+
On Dedicated hosts, customers have host maintenance experience available for impact <1sec or >=1sec. Customers can opt into a maintenance control and schedule maintenance window based on their needs within 35days from last maintenance date. Isolated VMs have maintenance control experience available like Dedicated hosts.
35
34
36
-
Enabling [automatic VM guest patching](automatic-vm-guest-patching.md)for your Azure VMs helps ease update management by safely and automatically patching virtual machines to maintain security compliance.
35
+
On Shared hosts, customers have host maintenance experience available for updates that require reboot updates. For updates that are <30sec maintenance control experience isn't available today. High Risk program is available to get maintenance experience for >30s freeze.
37
36
38
-
[Automatic VM guest patching](automatic-vm-guest-patching.md) has the following characteristics:
39
-
- Patches classified as *Critical* or *Security* are automatically downloaded and applied on the VM.
40
-
- Patches are applied during off-peak hours in the VM's time zone.
41
-
- Patch orchestration is managed by Azure and patches are applied following [availability-first principles](automatic-vm-guest-patching.md#availability-first-updates).
42
-
- Virtual machine health, as determined through platform health signals, is monitored to detect patching failures.
43
-
- Works for all VM sizes.
37
+
### Notification mechanisms
38
+
39
+
Azure provides notifications before, during, and after maintenance operations. Scheduled events provide notifications before an event starts and while it is in progress so your application can react automatically. Flash health events enable you to consume and analyze alerts and trends in VMs availability for reporting and root cause analysis.
40
+
41
+
#### Scheduled Events
42
+
43
+
Scheduled events provide advance notification of upcoming availability impacts so you can prepare your application for the impact ahead of time. They are optimized for automated resiliency by being delivered directly to the impacted VM and to all VMs in the same placement group. For information on Scheduled Events, see [Scheduled Events for Windows VMs](./windows/scheduled-events.md) and [Scheduled Events for Linux](./linux/scheduled-events.md).
44
+
45
+
#### Flash Health Events
46
+
47
+
Flash Health Events provide near real-time information about past availability impacts so customers can react to events and easily mitigate incidents. Flash information is available in Azure Monitor, AzureResource Graph, or Event Grid to integrate with your systems and processes.
44
48
49
+
## Guest patches and update flows
45
50
46
-
## Automatic extension upgrade
51
+
### OS Image upgrade
52
+
53
+
[Automatic OS upgrades](../virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade.md?context=/azure/virtual-machines/context/context) are available for Virtual Machine Scale Sets. An upgrade works by replacing the OS disk of a VM with a new disk created using the latest image version. Any configured extensioAns and custom data scripts are run on the OS disk, while data disks are retained. To minimize the application downtime, upgrades take place in batches, with no more than 20% of the scale set upgrading at any time.
54
+
Maintenance Control is also available for OS Image upgrades. Customers can opt into this experience by using maintenance configurations to schedule when these image upgrades are applied. To use this experience scale sets, need to have automatic OS upgrades enabled. Customers can schedule recurrence for up to a week (seven days) and a minimum of 5 hours is required for the maintenance window.
47
55
48
-
[Automatic Extension Upgrade](automatic-extension-upgrade.md) is available for Azure VMs and Azure Virtual Machine Scale Sets. When Automatic Extension Upgrade is enabled on a VM or scale set, the extension is upgraded automatically whenever the extension publisher releases a new version for that extension.
56
+
### Guest VM patching
57
+
58
+
[Automatic VM guest patching](automatic-vm-guest-patching.md) is integrated with Azure update manager that allows you to save recurring deployment schedules to install updates for your Windows Server and Linux machines in Azure, in on-premises environments, and in other cloud environments connected using Azure Arc-enabled servers.
49
59
50
-
Automatic Extension Upgrade has the following features:
51
-
- Supported for Azure VMs and Azure Virtual Machine Scale Sets.
52
-
- Upgrades are applied in an availability-first deployment model.
53
-
- For a Virtual Machine Scale Set, no more than 20% of the scale set virtual machines will be upgraded in a single batch. The minimum batch size is one virtual machine.
54
-
- Works for all VM sizes, and for both Windows and Linux extensions.
55
-
- You can opt out of automatic upgrades at any time.
56
-
- Automatic extension upgrade can be enabled on a Virtual Machine Scale Sets of any size.
57
-
- Each supported extension is enrolled individually, and you can choose which extensions to upgrade automatically.
58
-
- Supported in all public cloud regions.
60
+
### Guest extension upgrades
61
+
[Automatic Extension Upgrade](automatic-extension-upgrade.md) is available for Azure VMs and Azure Virtual Machine Scale Sets. When Automatic Extension Upgrade is enabled on a VM or scale set, the extension is upgraded automatically whenever the extension publisher releases a new version for that extension. The extension upgrade process replaces the existing extension version on a VM with a new version of the same extension when published by the extension publisher. The health of the VM is monitored after the new extension is installed. If the VM isn't in a healthy state within 5 minutes of the upgrade completion, the extension version is rolled back to the previous version.
62
+
Maintenance control on extensions is currently only available via CLI and PowerShell. Customers can schedule recurrence for up to a week (7 days) and a minimum of 5 hours is required for the maintenance window.
59
63
60
-
## Hotpatch
64
+
###Hotpatch
61
65
62
66
[Hotpatching](../automanage/automanage-hotpatch.md?context=/azure/virtual-machines/context/context) is a new way to install updates on new Windows Server Azure Edition virtual machines (VMs) that doesn’t require a reboot after installation. Hotpatch for Windows Server Azure Edition VMs, has the following benefits:
63
67
64
68
- Lower workload impact with less reboots
65
69
- Faster deployment of updates as the packages are smaller, install faster, and have easier patch orchestration with Azure Update Manager
66
70
- Better protection, as the Hotpatch update packages are scoped to Windows security updates that install faster without rebooting
67
71
72
+
### Azure update management
68
73
69
-
## Azure updatemanagement
74
+
You can use [Update Management in Azure Automation](../automation/update-management/overview.md?context=/azure/virtual-machines/context/context) to manage to operate system updates for your Windows and Linux virtual machines in Azure, in on-premises environments, and in other cloud environments. You can quickly assess the status of available updates on all agent machines and manage the process of installing required updates for servers.
70
75
71
-
You can use [Update Management in Azure Automation](../automation/update-management/overview.md?context=/azure/virtual-machines/context/context) to manage operating system updates for your Windows and Linux virtual machines in Azure, in on-premises environments, and in other cloud environments. You can quickly assess the status of available updates on all agent machines and manage the process of installing required updates for servers.
72
-
73
-
## Update Manager
76
+
### Update manager
74
77
75
78
[Update Manager](../update-center/overview.md) is a new-age unified service in Azure to manage and govern updates (Windows and Linux), both on-premises and other cloud platforms, across hybrid environments from a single dashboard. The new functionality provides native and out-of-the-box experience, granular access controls, flexibility to create schedules or take action now, ability to check updates automatically and much more. The enhanced functionality ensures that the administrators have visibility into the health of all systems in the environment. For more information, see [key benefits](../update-center/overview.md#key-benefits).
76
79
77
-
## Maintenance control
78
-
79
-
Manage platform updates, that don't require a reboot, using [maintenance control](maintenance-configurations.md). Azure frequently updates its infrastructure to improve reliability, performance, security or launch new features. Most updates are transparent to users. Some sensitive workloads, like gaming, media streaming, and financial transactions, can't tolerate even few seconds of a VM freezing or disconnecting for maintenance. Maintenance control gives you the option to wait on platform updates and apply them within a 35-day rolling window.
80
-
81
-
Maintenance control lets you decide when to apply updates to your isolated VMs and Azure dedicated hosts.
82
-
83
-
With [maintenance control](maintenance-configurations.md), you can:
84
-
- Batch updates into one update package.
85
-
- Wait up to 35 days to apply updates for Host machines.
86
-
- Automate platform updates by configuring a maintenance schedule or by using [Azure Functions](https://github.com/Azure/azure-docs-powershell-samples/tree/master/maintenance-auto-scheduler).
87
-
- Maintenance configurations work across subscriptions and resource groups.
88
-
89
-
90
-
## Scheduled events
91
-
92
-
Scheduled Events is an Azure Metadata Service that gives your application time to prepare for virtual machine (VM) maintenance. It provides information about upcoming maintenance events (for example, reboot) so that your application can prepare for them and limit disruption. It's available for all Azure Virtual Machines types, including PaaS and IaaS on both Windows and Linux.
93
-
94
-
For information on Scheduled Events, see [Scheduled Events for Windows VMs](./windows/scheduled-events.md) and [Scheduled Events for Linux](./linux/scheduled-events.md)
95
-
96
80
## Next steps
97
81
98
82
Review the [Availability and scale](availability.md) documentation for more ways to increase the uptime of your applications and services.
0 commit comments