Skip to Content

پچ کردن درایورهای HP در هاست ESXi با استفاده از VMware Update Manager

پچ کردن درایورهای HP در هاست ESXi با استفاده از VMware Update Manager

Today I wanted to run through the process used to patch HP drivers on an ESXi host; specifically through Update Manager. In a vSphere 6.5 troubleshooting post, we discussed a PSOD issue stemming from a specific HP iLO driver. That being the case, it seemed fitting to go through the patch process for the affected iLO driver in this post. Despite this being a very specific patch, the general patch procedure can be applied to other driver updates as well.

Issue Background – HPE Advisory regarding Proliant servers deployed using the hpe-ilo driver version 65.10.0.1-24. VMware ESXi 6.5 host fails with a Purple Screen Diagnostic, indicating that CPU XX / World XXXXXX tried to re-acquire a lock. Resolved by upgrading the hpe-ilo driver to version 650.10.0.2 or later.

Driver Check

In our instance, we will check the ESXi host(s) for the affected HP driver.

To begin, enable and initiate an SSH session to the host. Once logged into the host, run the esxcli software vib list command searching for strings matching HP.

esxcli software vib list | grep hp

VIB List HP

Here we can see this host is running the affected driver iLO driver (650.10.0.1-24). In our next step, we will move to vSphere Update Manager to add and download pertinent patches from the HPE repository.

Download Patches from Repository

The easiest way to obtain HPE patches is by downloading them from their online repository.

To do so, navigate to Update Manager from the vCenter Server Web Client.

VUM

Select the vCenter Server under Navigator. Click the Manage tab, Download Settings under the Settings tab. Click the Edit button to add the download source.

VUM Download Settings

Select Add under Direct connection to Internet. In the Add Download Sourcewindow, enter the download source URL. In our case, the HPE repository is located at http://vibsdepot.hpe.com/index.xml. Click OK when finished.

VIBS Depot HPE

NOTE – If you don’t have an internet connection, you can manually import the patches from a local .zip by clicking Import Patches. Manual downloads can be obtained from http://vibsdepot.hpe.com/hpe/.

VUM Import Patches

Select the newly added Source and click Download Now to download the patches.

VUM Download Patches

Progress can be monitored in the Recent Tasks pane.

Patch Recent Tasks

Create Baseline

Next, we will add the pertinent patches to a Baseline. Navigate to the Host Baselines tab and select New Baseline.

New Baseline

The New Baseline wizard will begin. Enter the Name and select the Baseline Type. In this instance, we will choose Host Patch. Host Extension could also be utilized.

Baseline Host Patch

Next, select the type of patch baseline to use.

As per VMware, dynamic patch baselines contain a set of patches, which updates automatically according to patch availability and the criteria that you specify. Fixed baselines contain only patches that you select, regardless of new patch downloads.

We will select Fixed since we are only upgrading this driver once.

Baseline Patch Options

Select the patch to include in the baseline. By checking the HPE software repository, we could determine the 2.6.2-2 release includes the required hp-ilo driver (650.10.0.2). If you don’t want to go through that trouble, the HPE Advisory also states the Release Date.

Baseline Patches

Review the baseline selections and press Finish when complete.

Baseline Patch Review

We have downloaded the Patches and the Baseline is created. Our next step will be to attach the baseline to the cluster.

Attach Patch Baseline

To begin, select Go to compliance view.

Compliance View

With your cluster or host selected, choose Attach Baseline.

Attach Baseline

Select the newly created Patch Baseline.

HPE Patch

To verify the compliance of your Patch Baseline, select Scan for Updates.

Scan for Patch Updates

When complete, the summary will show the applicable missing patches.

Missing Patches

Remediate

For the last step in our process, we will set our Remediation Options and begin the Remediation process. Click the Remediate button to start.

Remediate Patches

Select the pertinent Baseline to remediate.

Remediate HP

Choose the Target (hosts) for remediation.

Remediate HP Target

Select the specific Patches to apply. In our case, we only have one.

Remediate Hewlett Packard

The Advanced Options section will allow us to schedule a specific time to run the remediation and/or choose to ignore unsupported items. We will leave both unchecked.

Remediate HP Advanced Options

Next, specify Maintenance Mode Options for the remediation. Set options for changing power state, disabling removable media, and retrying maintenance mode here.

Remediate Options

Lastly, specify the Cluster Options for the remediation.  For hosts in a cluster, the remediation process will run sequentially by default. If you would like to run the remediation in parallel, denote that here.Remediate HP Cluster

Review the settings and click Finish to start the remediation process.

Remediate HP Review

Monitor progress from the Recent Tasks pane. The remediation process will:

  • Put the host in maintenance mode; migrating vms to other cluster hosts.
  • Apply the pertinent patch.
  • Restart the host.
  • Re-connect the host to vCenter.
  • Exit host maintenance mode.
  • Remediate next host if applicable.

Recent Tasks

After a successful remediation, the baseline will show compliant.

Compliant

NOTE – If you would like to ensure the patch has applied, SSH to your host and re-run the esxcli software vib list command. We now see that hpe-ilo is at 6.50.10.2-2.

VIB List CMD

If you don’t have Update Manager or prefer a different approach, patches can also be easily applied via ESXCLI. Check out this post for that process.

HP drivers aside, hopefully, this gave you a good framework for the patch process as a whole.

vSphere Update Manager 6.5 Documentation.

HPE Proliant Updates Documentation.

لایک2 facebookاشتراک گذاری twitterbirdتویت

دیدگاهتان را بنویسید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *

By submitting a comment you grant راهکارهای جامع دیتاسنترنظرات نامناسب و بی ربط توسط مدیریت حذف خواهند شد.پست الکترونیک شما تنها برای مقاصد تایید استفاده می شود و هرگز منتشر نخواهد شد.

نه − 3 =