Enable SSH access on your host, log in to it (e.g. using putty) and run the following commands:
# open firewall for outgoing http requests: esxcli network firewall ruleset set -e true -r httpClient # Install the ESXi 5.5 U1 Imageprofile from the VMware Online depot esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-5.5.0-20140302001-standard # Reboot your host rebootThis will also work if you are still on ESXi 5.0 or 5.1. For more detailed instructions and useful hints regarding ESXi 5.5 please read my post How to update your standalone host to ESXi 5.5 - beware of missing drivers and do NOT upgrade virtual hardware!
This post first appeared on the VMware Front Experience Blog and was written by Andreas Peetz.
Follow him on Twitter to keep up to date with what he posts.
And... you should remember to enable that rule afterwards :)
ReplyDeleteYou mean to DISable the firewall again? Yes, maybe, but I do not consider this a big security risk, because it opens the firewall for outgoing traffic only.
DeleteThanks a million I just updated from esxi 5.0 to 5.5 update with these instructions and they worked great!!! Here are some additional steps and tips for others
ReplyDeleteStep 0 a) Shut down all VMs
Step 0 b) put ESXi host in maintenance mode' can do either command line on esxi host as root
vim-cmd /hostsvc/maintenance_mode_enter
or via vsphere client as root via
esxi console ... Summary Commands ... enter maintenance mode
Step 0 c) from putty shell session run command
~ # vmware -v
VMware ESXi 5.0.0 build-474610
Line above shows esxi version 5.0
To check on progress on the update (step 4 from above) , be patient it looks nothing is happening but eventually the upgrade does start, you can see activity by tailing /var/log/esxupdate.log
After reboot
5 Wait 3 minutes for host to come up and run command below to verify you are on ESXi version 5.5 update 1
vmware -v
5a) The output of above command will now be
VMware ESXi 5.5.0 build-1623387
This shows that you are now on latest version
6) Take server out of maint mode via exit maintenance mode via esxi console ... Summary Commands ... exit maintenance mode
Thanks for sharing additional instructions, James!
Delete@ Andreas Peetz
ReplyDeleteThanks a ton.
Your commands worked great and was able to update ESXi host
These commands can also be used to patch your installation. You just have to determine the latest profile:
ReplyDeleteOn https://my.vmware.com/group/vmware/patch I go to the Knowledge Base Article (KB) of the latest patch and at the end of it is the latest standard profile mentioned.
Hi Maddes,
Deletecorrect, but a faster way to find out about latest ESXi patches and Imageprofile names is via http://esxi-patches.v-front.de.
Andreas
That's even more convenient.
DeleteYou should always mention that link when posting about updating ESXi.
Thanks
Maddes
Hi Maddes,
Deleteyes, but keep in mind that this will only work if your host has direct Internet access (not always the case) and the Imageprofile is available in the VMware Online Depot (for the ESXi 6.0 GA Imageprofile this is not yet the case).
Andreas