If you are responsible for keeping a VMware vSphere environment properly patched, you most likely use Update Manager to quickly and easily download patches from the Internet and apply them to your clusters according to baseline policies.
vSphere Update Manager (VUM) enables centralized, automated patch and version management for VMware vSphere and offers support for VMware ESXi hosts, virtual machines, and virtual appliances. With Update Manager, you can perform the following tasks:
- Upgrade and patch ESXi hosts
- Install and update third-party software on hosts.
- Upgrade virtual machine hardware, VMware Tools, and virtual appliances.\
- Step 1 is to upload patches.
Next step is to create a Baseline. Update Manager baselines are hosts baselines, virtual machine baselines, and virtual appliance baselines. To upgrade objects in your vSphere inventory, you can use predefines baselines, system-managed baselines, or custom baselines that you create. When you scan hosts, virtual machines, and virtual appliances, you evaluate them against baselines and baseline groups to determine their level of compliance. We can create and manage baselines in the Update Manager Client Administration view.
- Dynamic patch baselines contain a set of patches, which updates automatically according to patch availability and the criteria that you specify.
- Fixed patch baselines contain only patches that you select, regardless of new patch downloads.
Click Next to proceed in selecting the patches.
Here you can select the individual patches that you want to include on this Host baseline. You can use filters to select quickly the desired patches, see type, release date and if it requires host reboot or no. Click Next and review all details in Ready to complete screen and then click Finish to create a baseline.
3. Step 3 is attaching a baseline to an ESXi host.
Go to Home -> Hosts and Cluster -> Click on host -> Update Manager and Attach Baseline.
Next choose the host baseline that you have created and want to attach. Click Next.
After the baseline is attached, we initiate out a scan on the host to verify that the update/upgrade is in fact required. From the same screen, click on Scan for Updates
After that, we see the host baseline attached and Non-Compliant status, which means that this host is not compliant with this patches included in the baseline, are not found inside the host, you we can go with applying these patches.
4. Step 4 is to remediate a host
So last step is to perform a remediate the host. Remediating is the act of pushing a patch or update to an ESXi host. A host is remediated by clicking on the Remediate button.
Next select the target host that will be remediated with this baseline.
Here you have the option to select desired patches that you want to apply to the host.
Next you can schedule the remediate action in a proper time you may want. Click Next.
Next we can specify some remediation options. VM Power state is most important option. Choose “Do Not Change VM Power State” in order that during the remediate process, if a host requires a reboot, VMs will be move in another available host using vSphere HA. Also check the checkboxes, in order to disable any removable devices and to retry the process of maintenance mode of the host, if it is required for this remediation. Click Next to continue.
Next the choose some Cluster remediation options, depending on your environment cluster configuration. If you have DPM enabled, please check the checkbox to disable it. The same with FT enabled, HA Admission control. An important option is the last, check it to Migrate powered off or suspended VMs. Click Next after you selected.
In Ready to complete page, take a look on all your configurations made and click Finish to begin the remediate process of the host.
After the task will be completed, refresh and in Update Manager tab of the host you will see the new “Compliance Status” changed to “Compliant” , so the patches were successfully installed.
So these are the steps you will follow also for updating, upgrading of an ESXi host.
Thanks for reading and sharing too!!! 🙂