Patch installation using Azure Update Manager

Abrar Adil S 216 Reputation points
2024-04-01T07:42:53.9066667+00:00

Hello Team,

We are using Azure Update Manager to handle patching, with a daily schedule during non-business hours for patch checks and installations. However, some servers remain turned off, delaying patching.

 Our goal is to automate the process of turning on servers with pending patch updates only which are part of a maintenance configuration, Once patching is completed, it should turn off only those VMs that were started for patching.

 While Azure Automation could be used to turn on all servers, this approach risks unnecessary billing as not all servers may require patches, as we have around 400+ servers running, please suggest the best approach. Thanks in advance.

Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
319 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 18,776 Reputation points
    2024-04-01T08:23:34.6966667+00:00

    @Abrar Adil S You can use pre and post events feature within Azure Update Manager. The pre and post events in Azure Update Manager allow you to perform certain tasks automatically before and after a scheduled maintenance configuration. For example, using pre-and-post events, you can:

    • Start VMs to apply patches and stop the VMs again.
    • Stop service on the machine, apply patches, and restart the service.

    The pre-events run before the patch installation begins and the post-events run after the patch installation ends. If the VM requires a reboot, it happens before the post-event begins.

    For more information, refer this document.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.