Vmware Esxi 6.5 Latest Build
Keep track of VMware ESXi patches, subscribe by RSS, Twitter and E-Mail! - Brought to you by @VFrontDe.
We have looked at upgrading ESXi hosts to 6.5 update 1 using the vSphere Update Manager. Today however, we want to look at upgrading VMware ESXi to 6.5 update 1 with commandline. This can prove very useful especially if you are not running VMware vCenter server in your environment to have the vSphere Update Manager available. The process is very straightforward to accomplish, however, there are a few things to keep in mind that we will get to below. The new vSphere 6.5 Update 1 update is proving to be a very worthy upgrade!
Upgrading VMware ESXi to 6.5 update 1 with commandline
Upgrading VMware ESXi to 6.5 update 1 with commandline is an easy way to upgrade your ESXi host to 6.5 update 1 without using the vSphere Update Manager. You will need SSH, Internet connectivity and the host in maintenance mode to carry out the update from the commandline. Keep track of VMware ESXi patches, subscribe by RSS, Twitter and E-Mail! - Brought to you by @VFrontDe.
There are a couple of things that we need to keep in mind in upgrading VMware ESXi to 6.5 update 1 with commandline. You will need to have SSH enabled on the host that will be updated. The host will need to be placed in maintenance mode so it will need to have all VMs powered down or compute moved to another host in a cluster. Additionally, it will need to be able to access the Internet.
As you can see below we have placed the host in maintenance mode.
Uprade ESXi host to 6.5 update 1 command line place in maitenance mode
Find the Current Build Version from the commandline
To find the current build from the commandline we can use the following command:
Open the ESXi host firewall
Next we need to open the host firewall to allow it to use the httpclient ports:
Find the ESXi 6.5 Update 1 update
To find the update we can use the following command to query the available 6.5 updates:
The update we are looking for is the ESXi-6.5.0-20170702001-standard update.
Running the ESXi 6.5 Update 1 update on our ESXi host
To actually run the update, we use the following command:
Use the ESXCLI command to update to ESXi 6.5 update 1
After a few moments of updating, you should see the The update completed successfully, but the system needs to be rebooted message. A listing of the installed VIBs will be presented afterwards. We can either reboot the host from the commandline with the simple reboot command or via the web client.
The update to ESXi 6.5 update 1 on the host is successful
Verify the ESXi 6.5 Update 1 host version
After the host finishes rebooting, we should see the host version now displaying 6.5.0 5969303.
The ESXi 6.5 update 1 host version is correctly showing 5969303
Concluding Thoughts
Vmware Esxi 6.5 Latest Build
Upgrading VMware ESXi to 6.5 update 1 with commandline is an easy way to upgrade your ESXi host to 6.5 update 1 without using the vSphere Update Manager. You will need SSH, Internet connectivity and the host in maintenance mode to carry out the update from the commandline. The process as shown above is only a few simple steps and should only take a few minutes.
ESXi 6.5 (latest build: 5969303) crashing during Windows 2012 R2 server updates. Can't power back on.
Setting up a brand new host w/ ESXi 6.5 U1 Build: 5969303. Setup a guest Windows 2012 R2 VM and going through the Windows patching process.
Not sure if it's related to the patches or just time, but server console disconnects, VM appears powered off in the web console, then when you try and power back on 'Failed to power on virtual machine XXXXXXX. The attempted operation cannot be performed in the current state (Powered Off)'.
I'm stuck on this one, bug??