Skip to content

Commit e2faa0a

Browse files
committed
Added new article, fixed blocking issues and updated crossref links
1 parent 94e7c54 commit e2faa0a

File tree

4 files changed

+128
-8
lines changed

4 files changed

+128
-8
lines changed

articles/update-manager/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Update Manager offers many new features and provides enhanced and native functio
5555

5656

5757
## Next steps
58-
58+
- [How Update Manager works](workflow-update-manager.md)
5959
- [Prerequisites of Update Manager](prerequisites.md)
6060
- [View updates for a single machine](view-updates.md).
6161
- [Deploy updates now (on-demand) for a single machine](deploy-updates.md).

articles/update-manager/prerequisites.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ To manage machines from Azure Update Manager, see roles and permissions.
2727

2828
### VM extensions
2929

30-
Azure VM extensions and Azure Arc-enabled VM extensions are required to run on the Azure and Arc-enabled machine respectively for Azure Update Manager to work. But separate installation is not required as the extensions are automatically pushed on the VM the first time you trigger any Update Manager operation on the VM. For more information, see the [VM extensions] that are pushed on the machines
30+
Azure VM extensions and Azure Arc-enabled VM extensions are required to run on the Azure and Arc-enabled machine respectively for Azure Update Manager to work. But separate installation is not required as the extensions are automatically pushed on the VM the first time you trigger any Update Manager operation on the VM. For more information, see the [VM extensions](workflow-update-manager.md#update-manager-vm-extensions) that are pushed on the machines
3131

3232
### Network planning
3333

3434
To prepare your network to support Update Manager, you might need to configure some infrastructure components. For more information, see the [network requirements for Arc-enabled servers](../azure-arc/servers/network-requirements.md).
3535

36-
For Windows machines, you must allow traffic to any endpoints required by the Windows Update agent. You can find an updated list of required endpoints in [issues related to HTTP Proxy](https://learn.microsoft.com/troubleshoot/windows-client/installing-updates-features-roles/windows-update-issues-troubleshooting?toc=%2Fwindows%2Fdeployment%2Ftoc.json&bc=%2Fwindows%2Fdeployment%2Fbreadcrumb%2Ftoc.json#issues-related-to-httpproxy). If you have a local [WSUS](https://learn.microsoft.com/windows-server/administration/windows-server-update-services/plan/plan-your-wsus-deployment) deployment, you must allow traffic to the server specified in your [WSUS key](https://learn.microsoft.com/en-us/windows/deployment/update/waas-wu-settings#configuring-automatic-updates-by-editing-the-registry).
36+
For Windows machines, you must allow traffic to any endpoints required by the Windows Update agent. You can find an updated list of required endpoints in [issues related to HTTP Proxy](https://learn.microsoft.com/troubleshoot/windows-client/installing-updates-features-roles/windows-update-issues-troubleshooting?toc=%2Fwindows%2Fdeployment%2Ftoc.json&bc=%2Fwindows%2Fdeployment%2Fbreadcrumb%2Ftoc.json#issues-related-to-httpproxy). If you have a local [WSUS](https://learn.microsoft.com/windows-server/administration/windows-server-update-services/plan/plan-your-wsus-deployment) deployment, you must allow traffic to the server specified in your [WSUS key](https://learn.microsoft.com/windows/deployment/update/waas-wu-settings#configuring-automatic-updates-by-editing-the-registry).
3737

3838
For Red Hat Linux machines, see [IPs for the RHUI content delivery servers](../virtual-machines/workloads/redhat/redhat-rhui.md#the-ips-for-the-rhui-content-delivery-servers)for required endpoints. For other Linux distributions, see your provider documentation.
3939

articles/update-manager/support-matrix.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ China | ChinaEast </br> ChinaEast3 </br> ChinaNorth </br> ChinaNorth3 </br> Chi
265265
---
266266

267267
### Supported update sources
268-
Refer to supported update sources here
268+
For more information, see the supported [update sources](workflow-update-manager.md#update-source).
269269

270270
### Supported update types
271271
The following types of updates are supported.
@@ -290,25 +290,25 @@ Use one of the following options to perform the settings change at scale:
290290

291291
• For all Windows Servers running on an earlier operating system than Windows Server 2016, run the following PowerShell script on the server you want to change:
292292

293-
```azurepowershell-interactive
293+
```azurepowershell-interactive
294294
295295
$ServiceManager = (New-Object -com "Microsoft.Update.ServiceManager")
296296
$ServiceManager.Services
297297
$ServiceID = "7971f918-a847-4430-9279-4a52d1efe18d"
298298
$ServiceManager.AddService2($ServiceId,7,"")
299-
```
299+
```
300300

301301
• For servers running Windows Server 2016 or later, you can use Group Policy to control this process by downloading and using the latest Group Policy Administrative template files.
302302

303303
> [!NOTE]
304304
> Run the following PowerShell script on the server to disable Microsoft applications updates:
305305
306-
```azurepowershell-interactive
306+
```azurepowershell-interactive
307307
$ServiceManager = (New-Object -com "Microsoft.Update.ServiceManager")
308308
$ServiceManager.Services
309309
$ServiceID = "7971f918-a847-4430-9279-4a52d1efe18d"
310310
$ServiceManager.RemoveService($ServiceId)
311-
```
311+
```
312312

313313
#### Third party application updates
314314

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
---
2+
title: Azure Update Manager operations
3+
description: This article tells what Azure Update Manager works in Azure is and the system updates for your Windows and Linux machines in Azure.
4+
ms.service: azure-update-manager
5+
ms.custom: linux-related-content
6+
author: SnehaSudhirG
7+
ms.author: sudhirsneha
8+
ms.date: 07/14/2024
9+
ms.topic: overview
10+
---
11+
12+
# How Update Manager works
13+
14+
Update Manager assesses and applies updates to all Azure machines and Azure Arc-enabled servers for both Windows and Linux.
15+
16+
![Diagram that shows the Update Manager workflow.](./media/overview/update-management-center-overview.png)
17+
18+
## Update Manager VM extensions
19+
20+
When an Azure Update Manager operation(AUM) is enabled or triggered on your Azure or Arc-enabled server, AUM installs an [Azure extension](../virtual-machines/extensions/overview.md) or [Arc-enabled servers extensions](../azure-arc/servers/manage-vm-extensions.md) respectively on your machine to manage the updates.
21+
22+
The extension is automatically installed on your machine when you initiate any Update Manager operation on your machine for the first time, such as Check for updates, Install one-time update, Periodic Assessment or when scheduled update deployment runs on your machine for the first time.
23+
24+
Customer doesn't have to explicitly install the extension and its lifecycle as it is managed by Azure Update Manager including installation and configuration. The Update Manager extension is installed and managed by using the below agents, which are required for Update Manager to work on your machines:
25+
26+
- [Azure VM Windows agent](../virtual-machines/extensions/agent-windows.md) or the [Azure VM Linux agent](../virtual-machines/extensions/agent-linux.md) for Azure VMs.
27+
- [Azure Arc-enabled servers agent](../azure-arc/servers/agent-overview.md)
28+
29+
>[!NOTE]
30+
> Arc connectivity is a prerequisite for Update Manager, non-Azure machines including Arc-enabled VMWare, SCVMM etc.
31+
32+
For Azure machines, single extension is installed whereas for Azure Arc-enabled machines, two extensions are installed. Below are the details of extensions, which get installed:
33+
34+
#### [Azure VM extensions](#tab/azure-vms)
35+
36+
| Operating system| Extension
37+
|----------|-------------|
38+
|Windows | Microsoft.CPlat.Core.WindowsPatchExtension|
39+
|Linux | Microsoft.CPlat.Core.LinuxPatchExtension |
40+
41+
#### [Azure Arc-enabled VM extensions](#tab/azure-arc-vms)
42+
43+
| Operating system| Extension
44+
|----------|-------------|
45+
|Windows | Microsoft.CPlat.Core.WindowsPatchExtension (Periodic assessment) <br> Microsoft.SoftwareUpdateManagement.WindowsOsUpdateExtension (On-demand operations and Schedule patching) |
46+
|Linux | Microsoft.SoftwareUpdateManagement.LinuxOsUpdateExtension (On-demand operations and Schedule patching) <br> Microsoft.CPlat.Core.LinuxPatchExtension (Periodic assessment) |
47+
48+
To view the available extensions for a VM in the Azure portal:
49+
50+
1. Go to the [Azure portal](https://portal.azure.com) and select a VM.
51+
1. On the VM home page, under **Settings**, select **Extensions + applications**.
52+
1. On the **Extensions** tab, you can view the available extensions.
53+
---
54+
55+
### Update source
56+
57+
Azure Update Manager honors the update source settings on the machine and will fetch updates accordingly. AUM doesn't publish or provide updates.
58+
59+
#### [Windows](#tab/update-win)
60+
61+
If the [Windows Update Agent (WUA)](https://learn.microsoft.com/windows/win32/wua_sdk/updating-the-windows-update-agent) is configured to fetch updates from Windows Update repository or Microsoft Update repository or [Windows Server Update Services](https://learn.microsoft.com/windows-server/administration/windows-server-update-services/get-started/windows-server-update-services-wsus) (WSUS), AUM will honor these settings. For more information, see how to [configure Windows Update client](https://learn.microsoft.com/windows-server/administration/windows-server-update-services/get-started/windows-server-update-services-wsus). By default, **it is configured to fetch updates from Windows Updates repository**.
62+
63+
#### [Linux](#tab/update-lin)
64+
65+
If the package manager points to a public YUM, APT or Zypper repository or a local repository, AUM will honor the settings of the package manager.
66+
67+
---
68+
69+
AUM performs the following steps:
70+
71+
- Retrieve the assessment information about status of system updates for it specified by the Windows Update client or Linux package manager.
72+
- Initiate the download and installation of updates with the Windows Update client or Linux package manager.
73+
74+
>[!Note]
75+
> 1. The machines will report their update status based on the source they are configured to synchronize with. If the Windows Update service is configured to report to WSUS, the results in Update Manager might differ from what Microsoft Update shows, depending on when WSUS last synchronized with Microsoft Update. This behavior is the same for Linux machines that are configured to report to a local repository instead of a public package repository.
76+
> 1. Update Manager will only find updates that the Windows Update service finds when you select the local **Check for updates** button on the local Windows system. On Linux systems only updates on the local repository will be discovered.
77+
78+
### Updates data stored in Azure Resource Graph
79+
80+
Update Manager extension pushes all the pending updates information and update installation results to [Azure Resource Graph](https://learn.microsoft.com/azure/governance/resource-graph/overview) where data is retained for below time periods:
81+
82+
|Data | Retention period in Azure Resource graph |
83+
|------------------|---------------------------------------------------|
84+
|Pending updates (ARG table name: patchassessmentresources) | Seven Days|
85+
|Update installation results (ARG table name: patchinstallationresources)| 30 days|
86+
87+
For more information, see [log structure of Azure Resource Graph](query-logs.md) and [sample queries](sample-query-logs.md).
88+
89+
### How patches are installed in Azure Update Manager
90+
91+
In Azure Update Manager, patches are installed in the following manner:
92+
93+
1. It begins with a fresh assessment of the available updates on the VM.
94+
1. Update installation follows the assessment.
95+
- In Windows, the selected updates that meet the customer's criteria are installed one by one,
96+
- In Linux, they're installed in batches.
97+
1. During update installation, Maintenance window utilization is checked at multiple steps. For Windows and Linux, 10 and 15 minutes of the maintenance window are reserved for reboot at any point respectively. Before proceeding with the installation of the remaining updates, it checks whether the expected reboot time plus the average update installation time (for the next update or next set of updates) doesn't exceed the maintenance window.
98+
In the case of Windows, the average update installation time is 10 minutes for all types of updates except for service pack updates. For service pack updates, it’s 15 minutes.
99+
1. Note that an ongoing update installation (once started based on the calculation above) isn't forcibly stopped even if it exceeds the maintenance window, to avoid landing the machine in a possibly undetermined state. However, it doesn't continue installing the remaining updates once the maintenance window has been exceeded, and a maintenance window exceeded error is thrown in such cases.
100+
1. Patching/Update installation is only marked as successful if all selected updates are installed, and all operations involved (including Reboot & Assessment) succeed. Otherwise, it's marked as Failed or Completed with warnings. For example,
101+
102+
|Scenario |Update installation status |
103+
|------------|---------------------------|
104+
|One of the selected updates fails to install.| Failed |
105+
|Reboot doesn't happen for any reason & wait time for reboot times out. | Failed |
106+
| Machine fails to start during a reboot. | Failed |
107+
| Initial or final assessment failed| Failed |
108+
| Reboot is required by the updates, but Never reboot option is selected. | Completed with warnings|
109+
| ESM packages skipped patching in ubuntu 18 or lower if Ubuntu pro license wasn't present. | Completed with warnings|
110+
1. An assessment is conducted at the end. Note that the reboot and assessment done at the end of the update installation may not occur in some cases, for example if the maintenance window has already been exceeded, if the update installation fails for some reason, etc.
111+
112+
## Next steps
113+
114+
- [Prerequisites of Update Manager](prerequisites.md)
115+
- [View updates for a single machine](view-updates.md).
116+
- [Deploy updates now (on-demand) for a single machine](deploy-updates.md).
117+
- [Enable periodic assessment at scale using policy](https://aka.ms/aum-policy-support).
118+
- [Schedule recurring updates](scheduled-patching.md)
119+
- [Manage update settings via the portal](manage-update-settings.md).
120+
- [Manage multiple machines by using Update Manager](manage-multiple-machines.md).

0 commit comments

Comments
 (0)