In this series of vSphere Update Manager we worked on How to install vSphere Update Manager & How to configure patch download settings in vSphere Update Manager. VUM is always the recommended way for patching & upgrading the ESXi hosts. VUM consists of few steps by which we can patch our ESXi hosts smoothly without any hassle & also can avoid the downtime if we have additional resources available in the cluster.
In this post we will see on how we can patch the ESXi hosts using vSphere Update Manager. This post might be lengthy but for covering all the steps i have made little lengthy post. So you will not miss any of the steps while upgrading or patching your environment.
Note: Before patching or upgrading ESXi host it is always recommended to check the compatibility of ESXi patch with the physical hardware if it is not compatible then do not go for patch or you may face the issues later.
Patch ESXi host using vSphere Update Manager Step by Step :
Login to vSphere Web Client.
Choose the Host which you want to Patch.
Go to Manage Tab.
Select Update Manager.
First we need to Attach the Baseline to the ESXi host for patching the ESXi host.
So click on Attach Baseline.
Here you will see pre-defined baselines which comes by default when you install VUM.
So we are going with default baselines which are one for Critical Host Patches & Another one is for Non-Critical Host Patches.
You can choose based on your requirement.
Click OK to Attach Baseline to ESXi host.
Now we have attached baseline in our previous step, So in this step we have to scan for updates.
So click on Scan for Updates.
Here you can specify whether you want to scan only for patches or for upgrades also.
We are going with both so ESXi will be upgraded with the latest patch.
You can select according to your scenario & requirement.
Click OK to scan.
You can see that scanning is completed & we can see in the Compliance Status tab that our Host is Non-Compliant that means we need to Patch the ESXi host.
In the Updates Table also you will find that many patches are missing.
So now we can patch & upgrade the ESXi host to make compliant.
Here you can also Stage Patches to ESXi host. (Which means all the Patches or Upgrades will be copied to ESXi host so that patching can be performed quickly.)
Click on Stage Patches.
You will get wizard for Staging the Patches.
You can select whether which patch you will be going to apply so based on that you can select the baseline so that patches can only be staged to ESXi.
Select the Host on which you want to stage the patches.
You can see all the Patches are selected. If you have specific requirement then you can deselect the patch from here.
Here is the quick summary of the selections.
Review it carefully & click Finish to stage the patches to ESXi.
we have successfully staged patches to ESXi host.
Now we can start the patching.
Click on Remediate to start the Patching process.
Select the Baselines which you want to remediate on the Host.
Select the ESXi host which you want to remediate.
Select the Patches which you want to apply to the ESXi host.
Change only if needed or leave it as it is.
You can configure the remediate schedule here.
Provide the Task Name & Description.
You can remediate now or you can also set schedule for specific date and time. So at that time remediation process will start.
You can configure the Host Maintenance mode options.
Set the VM Power state before start the remediate process.
You can specify how much retry will it take to enter host into maintenance mode.
Specify the cluster options which are used by the ESXi host.
You can Disable DPM, FT, HA so that once remediate process completed successfully you can enable them.
You can also migrate powered Off & suspended VM’s to other hosts in the cluster.
Review all the settings & selection you have done before starting the remediate process.
Click Finish to start the remediation of the ESXi host.
You can see the status of the remediate tasks in the recent tasks.
Once it completed successfully, you can check the host summary to for updated information.
Once the ESXi host is up & running you can check the status of the Host & check for all the storage devices which are presented & other configuration if any. Then you can migrate vm back to the ESXi host.
Using this way you can Patch & Upgrade the ESXi hosts using vSphere Update Manager.
Checkout Our Posts on vSphere Update Manager:
That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge.
If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.