Updating a VMware build

Alex
Alex used Ask the Experts™
on
Afternoon all

I need to update a VMHost which has the correct base install but I need to update it to a newer build. I want to do this manually and as far as I know you can drop the zip file or the folders within the zip file over to the host and run  "esxcli software vib"

Anyone got a really quick, this is how to do it thing?

Thanks all.

Alex
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2017
Commented:
Unfortunately, you are not including which version you are looking to update or why you are not going through the vcsa

Here is an article on a process for 6.0 that you might find useful.
https://www.experts-exchange.com/articles/19279/HOW-TO-Update-Patch-VMware-ESXi-6-0-0-GA-to-ESXi-6-0-0b-with-VMware-Update-Manager-VUM.html
Distinguished Expert 2017
Commented:
Oh, quick .....

The author of the article in the posted link has a large array of articles on VMware .

Do you have a test VMware host on which you can test "the quick approach"?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
Easy.....

What version do you want to go to!

Does the host have internet access

You do know you have to put the host into maintenance mode which means VMs must be powered off!!!

I’ve written many articles how to do this but I have a quicker one liner!!!

esxcli network firewall ruleset set -e true -r httpClient
esxcli software profile update -p ESXi-6.5.0-20190804001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
esxcli network firewall ruleset set -e false -r httpClient

Open in new window

okay it's three lines if your firewall is turned off for http!!! Could not be simpler.... this goes off to the internet and pulls the update down from the internet.

Do not worry it doers check before update if the file is corrupted, so you cannot break your ESXi by updating, but if you do for another reason power goes off, you enter Recovery Mode at boot, and roll back to the earlier build before update! (however this does NOT negate you should always have a backup of VMs ((full)) before updating a production server.

But you probably know that already!

What version of ESXi ? and I'll send you the command to update your version to latest build.
AlexA lack of information provides a lack of a decent solution.

Author

Commented:
It's ok, Both of those helped and I wasn't in the office yesterday, I used the update manager and rebooted the host. All sorted.

And yeah, I wasn't feeling great when i posted this, hence the distinct lack of rather important info.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial