VMware Cloud Community
rschmid
Enthusiast
Enthusiast
Jump to solution

Update single host to latest patchlevel from the command line without VUM

Hello,

I need to patch a single ESXi 5.5.0 GA host to its latest patchlevel from the command line.

(I have no VUM avaiable)

below is shown the actual patchlevel:

vmware -l

VMware ESXi 5.5.0 GA

vmware -v

VMware ESXi 5.5.0 build-1331820

I am not sure which file to download from vmware.com

Kind regards,

Roland

1 Solution

Accepted Solutions
MKguy
Virtuoso
Virtuoso
Jump to solution

To update to the latest 5.5 image profile directly from the VMware online repository (requires internet access for the host) do this:

# esxcli network firewall ruleset set -e true -r httpClient

# esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-5.5.0-20151004001-standard

If your ESXi host does not have direct internet access, then download the ESXi 5.5 Update 3a Offline Bundle from here and upload it to the host:

https://my.vmware.com/group/vmware/details?downloadGroup=ESXI55U3&productId=353&rPId=9553

Then apply the update with:

# esxcli software vib update -d "/full/path/to/offline/bundle.zip"

Also see:

VMware KB: Installing patches on an ESXi 5.x/6.x host from the command line

Both methods will update every ESXi package on host to the latest version.

-- http://alpacapowered.wordpress.com

View solution in original post

4 Replies
SavkoorSuhas
Expert
Expert
Jump to solution

Are you looking for a specific patch or an update. If it is update, then you can download 5.5 u3a. If it's a specific patch you are looking for then you will have to download it manually from

Download

You can find it out by release date.

VMware KB: Correlating VMware product build numbers to update levels

Suhas

If you found this or any other answer useful please consider the use of the Helpful or Correct buttons to award points.

Don't Backup. Go Forward!
Rubrik

Reply
0 Kudos
MKguy
Virtuoso
Virtuoso
Jump to solution

To update to the latest 5.5 image profile directly from the VMware online repository (requires internet access for the host) do this:

# esxcli network firewall ruleset set -e true -r httpClient

# esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-5.5.0-20151004001-standard

If your ESXi host does not have direct internet access, then download the ESXi 5.5 Update 3a Offline Bundle from here and upload it to the host:

https://my.vmware.com/group/vmware/details?downloadGroup=ESXI55U3&productId=353&rPId=9553

Then apply the update with:

# esxcli software vib update -d "/full/path/to/offline/bundle.zip"

Also see:

VMware KB: Installing patches on an ESXi 5.x/6.x host from the command line

Both methods will update every ESXi package on host to the latest version.

-- http://alpacapowered.wordpress.com
rschmid
Enthusiast
Enthusiast
Jump to solution

Hi,

thank you for the answers.

Shall I backup my VMs before installing patches?

Kind regards,

Roland

Reply
0 Kudos
krish290785
Enthusiast
Enthusiast
Jump to solution

Shouldn't be required. If the upgrade fails, You can force the esxi to recovery mode and select to boot from alternate bootbank, which would help to resume the services quickly without having much impact.

-Bala Krishna Gali If the above info is useful, please mark answer as correct or helpful.