How to update your standalone host to ESXi 5.5 U1

My "How to update ESXi" posts are still very popular, so now - that ESXi 5.5 Update 1 is out,- I must post short instructions on how to update your standalone host to ESXi 5.5 Update 1 ... ;-)

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
reboot
This 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.



9 comments:

  1. And... you should remember to enable that rule afterwards :)

    ReplyDelete
    Replies
    1. You 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.

      Delete
  2. Thanks 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

    Step 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

    ReplyDelete
    Replies
    1. Thanks for sharing additional instructions, James!

      Delete
  3. @ Andreas Peetz

    Thanks a ton.

    Your commands worked great and was able to update ESXi host

    ReplyDelete
  4. These commands can also be used to patch your installation. You just have to determine the latest profile:
    On 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.

    ReplyDelete
    Replies
    1. Hi Maddes,

      correct, but a faster way to find out about latest ESXi patches and Imageprofile names is via http://esxi-patches.v-front.de.

      Andreas

      Delete
    2. That's even more convenient.
      You should always mention that link when posting about updating ESXi.

      Thanks
      Maddes

      Delete
    3. Hi Maddes,

      yes, 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

      Delete

***** All comments will be moderated! *****
- Please post only comments or questions that are related to this post's contents!
- Advertising and link spamming will not be tolerated!