Update Manager assesses and applies updates to all Azure machines and Azure Arc-enabled servers for both Windows and Linux.
Update Manager VM extensions
When an Azure Update Manager operation(AUM) is enabled or triggered on your Azure or Arc-enabled server, AUM installs an Azure extension or Arc-enabled servers extensions respectively on your machine to manage the updates.
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.
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:
Arc connectivity is a prerequisite for Update Manager, non-Azure machines including Arc-enabled VMWare, SCVMM etc.
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:
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.
AUM performs the following steps:
Retrieve the assessment information about status of system updates for it specified by the Windows Update client or Linux package manager.
Initiate the download and installation of updates with the Windows Update client or Linux package manager.
Note
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.
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.
Updates data stored in Azure Resource Graph
Update Manager extension pushes all the pending updates information and update installation results to Azure Resource Graph where data is retained for below time periods:
In Azure Update Manager, patches are installed in the following manner:
It begins with a fresh assessment of the available updates on the VM.
Update installation follows the assessment.
In Windows, the selected updates that meet the customer's criteria are installed one by one,
In Linux, they're installed in batches.
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.
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.
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.
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,
Scenario
Update installation status
One of the selected updates fails to install.
Failed
Reboot doesn't happen for any reason & wait time for reboot times out.
Failed
Machine fails to start during a reboot.
Failed
Initial or final assessment failed
Failed
Reboot is required by the updates, but Never reboot option is selected.
Completed with warnings
ESM packages skipped patching in ubuntu 18 or lower if Ubuntu pro license wasn't present.
Completed with warnings
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.
Update Manager is a unified service that helps manage and govern updates for all your machines. It allows you to monitor Windows and Linux update compliance across Azure and on-premises from a single dashboard.
As a Windows Server hybrid administrator, you integrate Windows Server environments with Azure services and manage Windows Server in on-premises networks.