Upgrade ESXi 5.0 to 5.5

WMware-vSphere-5-5Upgrading and updating servers can be a royal pain in the rear.  Especially when you run a relatively small organization like myself and have just a handful of VMware boxes to upgrade.

When you do a search for a guide on VMware’s site, you get a good guide but chances are you don’t have some of the options and features that the guide details, such as yours truly.

You’ll need an SSH client, if you don’t have one, I recommend Putty.

So here is what I ended up doing:

    1. Shut down all of the virtual servers you have running on your ESXi host.
    2. Enter Maintenance Mode on the ESXi host.  From the vSphere Client, right click on the host and select Enter Maintenance Mode.
    3. Connect via SSH to the host.  (If you are unable to connect or don’t have SSH running, here is how:  Remote ESXi Shell Access with SSH)
    4. When connected with SSH, enter the following command to adjust the firewall rules: esxcli network firewall ruleset set -e true -r httpClient
    5. Now you need to see what updates are available.  In this case I’m upgrading from 5.0.0 to 5.5.0.  So I enter the following command: esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-5.5
    6. You’re going to get a list of software sources.  This could be a short, or a long list like this one:Screen Shot 02-02-15 at 10.15 AM
    7. I did a little research online to determine the latest build, which in this case was the one labeled “ESXi-5.5.0-20150104001-standard”
    8. Taking that into consideration, I used the following command: esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-5.5.0-20150104001-standard
    9. This process will take a few minutes, depending on your connection and host speed.  When it is complete, you’ll see a screen similar to the one below: esxcli-list-profile-3
    10. After that, the update is complete and you have to reboot the host by using the following command: reboot
    11. Once the host reboots, connect again using the vSphere Client and exit maintenance mode.
    12. This completes the upgrade process!

 

, , , , ,

No comments yet.

Powered by WordPress. Designed by Woo Themes