Patch Management Using OMS (Operations Management Suit)
Patching has become crucial in the IT industry be it Windows or Linux etc.…
The below article will brief you Automation of Patching using OMS, Using this we can Patch the servers both the ends be it Azure or On-Premises.
We have two types in deploying or configuring OMS…
Step1 : If you are in different N/W or Forest then you need to install Agent MMA (Microsoft Monitoring Agent) in the machine that you are trying to connect from Azure.
Step2: If you are under the same Network OMS will detect the servers that needs to be patched or updated.
1 : If you are in different N/W or Forest then you need to install Agent MMA (Microsoft Monitoring Agent) in the machine that you are trying to connect from Azure.
Below are the :
Note: This Agent needs to be downloaded in the machine or client that your trying to execute Patching using MMA
Login to Azure Portal
a: In the Azure Portal under “All Services” type Log Analytics
Click on Log Analysis
Click on Workspace Name
Go to settings under Workspace Name as shown below:
Under the Connected Sources select your clients based on your Operating System. In this scenario we will discuss updating using Windows OS.
Download Agents based on your System Type (64 bit or 32 bit)
After Downloading the Agent install the Agent and this requires
Post installation these machines or Clients will be updated in OMS Dashboard
Initiate Patching using OMS…..
Now let’s discuss if these clients are in the same N/W.
2: If you are under the same Network OMS will detect the servers that needs to be patched or updated.
Connect to Azure Work Space.
Steps to connect to Azure Work Space
1: Click on All Services on top.
2: Type OMS in search Tab and you will see Automation Accounts.
When you click on Automation Accounts you can see the screenshot as mentioned below:
Click “Techrid” Automation Account
This will take you to another window “Overview”
From here go to Update Management as shown below:
Click Update Management
Provide the details based on your requirement and click Enable
Installation in Progress
Once the OMS Enabled you can see the machines that needs to be updated.
Click on Update Management and check
Good we see two machines.
Now go back to Log Analytics from All Services.
When you click on Log Analytics you will be taken to Default Workspace “Techrid” where your Machines or the servers are connected.
Click on Workspace this will take you to OMS (Operations Management Suite) workspace page.
Here click on OMS Portal
When you click on OMS Portal it will take you to different Page as shown below:
Click on COMPUTERS ASSESSED
This will take you to Update Management Page as shown below:
Here you need to drag the page to Left side corner, where you will find “MANAGE UPDATE DEPLOYMENTS” as shown below:
Click on “MANAGE UPDATE DEPLOYMENTS”
Where you can Scheduling the updates.
Click on + Add
Provide the details and be specific when you are providing the names for better understanding.
Next Add the computers that needs to be patched and click Add.
After you add we can see the computers listed for Patching
While scheduling you can select option based on your requirement if this task needs to happen on Weekly or Monthly…..
NOTE: Make sure your informing the Application team that there is Maintenance going on so that there is no Data Lose in case of servers restart.
If this is scheduling for Monthly then provide the timings to complete the tasks at given time.
And Click Save and wait for the Output.
Post saving if you go back to Update Deployments and see under Scheduled you can see the list of servers.
Under Completed you can see list of servers patched and completed.
Go back to server and when you check for Windows Updates you can see Updates were installed.
Upcoming article on SQL Server and Database creation in Azure
MCSE – Cloud Platform and Infrastructure