ESXi 5.1 standalone or ESXi 5.1 managed by vCenter can be upgraded to ESXi 5.5 after the last week's GA release of vSphere 5.5. While for ESXi managed by vCenter, the upgrade process is quite straight forward by using VUM (VMware Update Manager). The VUM can also be used with Linux based (VCSA), where the VUM must be installed on separate Windows machine and the legacy Windows based vSphere client must be used in order to have the VUM plugin, which is supported only on the legacy Windows client as for now.
For standalone (Free version) ESXi 5.x upgrades, things got more complicated as VMware does not provide a download of the ESXi Offline Bundle. The offline bundle is a zip file which allows upgrade standalone ESXi hosts via PowerCLI or via Putty client through SSH session.
There is a nice workaround, which allows you to create your own Offline bundle for ESXi 5.5. You'll need to install PowerCLI on your management station.
You can download PowerCLI from this link. Then start a PowerCLI window and enter those commands, where will create the Offline bundle in the current directory.
Add-EsxSoftwareDepot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
And then this one:
Export-EsxImageProfile -ImageProfile ESXi-5.5.0-1331820-standard -ExportToBundle -FilePath .ESXi-5.5.0-1331820-standard.zip
Thanks to Andreas Peetz from v-front.de for this tip.
Once the offline bundle is generated, you can upload it to a datastore visible by the host and follow the steps which I described in my article where I'm updating free version of ESXi 5.0 to 5.1 – How to patch ESXi 5 without vCenter. If you want to preserver all NIC drivers and VIBs you have installed on your ESXi 5.1, you'll have to use “update” switch instead of “install”.
Use this command:
esxcli software profile update -d /vmfs/volumes/datastore01/ESXi-5.5.0-1331820-standard.zip -p ESXi-5.5.0-1331820-standard
As a side note, users of ESXi 5.5 free version cannot modify virtual machine hardware 10 by using the legacy vSphere Windows client. The VMs can be powered On or Off, but to edit the virtual hardware, the vSphere Web client must be used. This would not be such a problem, as you probably don't need a 62Tb VMs at home or AHCI for SATA (Advanced Host Controller Interface). But still, I get the feeling that the users of the free version are getting less and less options (even with the unlock of the physical memory which was limited to 32 Gb in previous release.)
Update:
You can also use the VMware Online Depot to download the upgrade package and upgrade your host…
esxcli network firewall ruleset set -e true -r httpsClient
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-5.5.0-1331820-standard
You might want to check out other features of vmx-10 which are listed in my post – VMware vSphere 5.5 – Storage enhancements and new configuration maximums.
VMware has created video which shows best practices for upgrading and installing ESXi hypervisor. Basically you'll need to follow the documentation, which is provided through links which shows on several places when watching the video.
This video shows:
- Hardware Prerequisites (CPU 64 bits, 4Gb of RAM…….)
- 1Gb or 10Gb networking
- SATA, SCSI or local disks (5.2 gb disk is minimum)
- Scratch partition on local storage, not on USB disk…
If you're installing vCenter server, you might want to check out two of my detailed posts for installing and configuring VCSA – vCenter Server 5.5 (VCSA) – Install/config – part 1 and VCSA 5.5 Installation and configuration – Part 2.
Feel free to subscribe via RSS or e-mail and follow me on Twitter: @vladan
Juan says
Hi Vladan.
I installed 1 year and a half ago vSphere 5.0 u1.
I am not an expert, and I use vSphere to have the availability to test OSs, Networking and so on, so I haven’t learnt too much regarding the system.
The installation, with your tips and another I found on the Internet was an out-of-the-box, and it is installed in a Shuttle machine with a HD and vSphere is running in a USB stick, with the whole disk for datastore.
Currently, due windows 2012 and windows 8.1 I want to upgrade the system to version 5.5.
I have been reading and I know I will have some troubles with the network driver.
I have found some instructions, as yours, and I don’t know what of them will I follow…. but, I am thinking in something before doing the upgrade, this is the reason of my post.
What do you think if I install vSphere 5.5 in a new USB stick and boot the machine with this stick.
– Could be possible to get the current configuration, i.e. having a backup for the configuration files and restoring them in the new usb stick with version 5.5, or do I need to upgrade the whole system?
– If possible, it is good to add later the VIB for the network card, keeping in mind I have a compatible Intel and a non-compatible Realtek?
– Do you think I will have troubles?.
I am worried. There are lots of work hours and beers in this system, and I can’t afford right now to get an image out of the 3Tb datastore. 🙁
thank you.
regards,
Juan
Vladan SEGET says
Juan,
Firstly, the shuttle isn’t supported box, right? So you can possibly have some network issues, because of that. But if there is a vib that is working for particular Realtek NIC, it should work for you as well. How the 5.5 will handle the probably unsupported storage controllers of the Shuttle is another question as well. It might work, or might not. Try searching another shuttle user with successful upgrade to 5.5 first…-:)
Considering that you only have the Shuttle with single disk which present the local datastore, What I would do is:
– Backup the VMs first (to an external USB or NAS)
– You can try fresh install on USB. If you can see and import the storage, and then re-register the VMs
I can’t really guarantee what will work in your situation. Don’t hesitate to share your results -:).
Juan says
Thank you Vladan.
The question is that I don’t want to re-create all the configurations.
As mentioned, I have lots of VMs, switches, VLANes, routing, firewalls…. working together as it is my test environment to my job.
Recreating only all the switching makes me cry only for all the job is done: VMs with 8 network cards, each one in one VLAN and each one in one switch…
So, perhaps I need upgrade, I think so.
I have read about a method about creating an iso with the drivers. Have a look:
http://www.ryanbirk.com/fixing-broken-realtek-and-marvell-nics-in-esxi-5-5/
But I didn’t thought about storage controllers, and I am more and more worried.
What do you think about creating the external USB with a fres esxi 5.5 installation (with ryanbrik method) and trying to add the datastore and import a virtual machine in this brand new system.
Perhaps booting it…. it could be a good signal storage controller is good.
In this case, can I go back to the 5.0 stick and do the upgrade?
thanks,
regards,
Juan
Vladan SEGET says
Sure, I see that you’ve quite a lot to configure after a “fresh” install only. In this case I would try to upgrade the host:
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-1331820-standard
by using the online depot
And then you’ll see the what’s missing. But in any case I would still do a backup of all my VMs…