The following three supported upgrade methods to VMware ESXi 5 are available:
|Upgrade Method||ESX or ESXi to ESXi 5||Upgrade or Patch from ESXi 5.0 to
|vSphere Update Manager||yes||yes|
|Interactive upgrade from CD, DVD, or
|vSphere Auto Deploy||no||yes|
It is not supported to directly upgrade ESX(i) 3.x to ESXi 5. You must first upgrade ESX(i) 3 to ESX(i) 4 before upgrading to ESXi 5. Another option is to do an fresh installation.
When upgrading to vSphere ESXi 5 there are a couple of things to think about before starting:
– It is now possible to upgrade VMware ESX 4.x and ESXi 4.x to VMware ESXi 5. Prior ESXi 5 the upgrade from ESX to ESXi was not supported (fresh installation needed).
– Make sure using static IP addresses. DHCP addresses can cause problems when upgrading with VMware Update Manager
– Backup your ESX or ESXi configuration:
For ESX back up the /etc/passwd, /etc/groups, /etc/shadow, and /etc/gshadow directories, custom scripts, local VMs, templates, iso and *.VMX files
For ESXi use vicfg-cfgbackup command in from the VMA or esxcli
– If upgrading the host(s) managed by vCenter server, you must upgrade vCenter to version 5 before upgrade ESX or ESXi
– Once you have upgraded or migrated your host to ESXi 5.0, you cannot roll back to your
version 4.x ESX or ESXi software.
– Lopsided boot banks can occur in systems that are upgraded from ESXi 3.5 to ESXi 4.x, and then upgraded directly to ESXi 5.0. vSphere Update Manager assumes the boot banks are both at 250MB. If it detects one boot bank is smaller than the other it will report an invalid boot disk and won’t even try to upgrade. More information can be found here.
– For most ESXi 4.x hosts, the partition table is not rewritten in the upgrade to ESXi 5.0. The partition table is rewritten for systems that have lopsided bootbanks. Lopsided boot banks can occur in systems that are upgraded from ESXi 3.5 to ESXi 4.x, and then directly to ESXi 5.0.
– The ESXi 5.0 installer cannot detect ESX 2.x instances or VMFS2 datastores. You cannot migrate ESX 2.x instances to ESXi 5.0 or preserve VMFS2 datastores in an upgrade to ESXi 5.0. Instead, perform a fresh installation of ESXi 5.0.
– For ESX hosts, the partitioning structure is changed to resemble that of an ESXi 4.x host. The VMFS3 partition is retained and a new MSDOS-based partition table overwrites the existing partition table.
– Upgraded hosts do not have a scratch partition. Instead, the scratch directory is created and accessed off of the VMFS volume. Each of the other partitions, such as the bootbanks, locker and vmkcore will be identical to thatof any other system.
The three upgrade methods are described with some screenshots.
vSphere Update Manager (VUM) ESX 4 or ESXi 4 to ESXi 5 upgrade
In vCenter open the VUM plug in and import Host Upgrade Image
browse to the VMware vSphere 5i installer ISO
The ISO is uploaded to VUM.
Create Host Upgrade Baseline
Attach the baseline
Perform an scan
There is a warning. Click on the 1 to expand the warning
The following warning is displayed that some modules are removed by the upgrade
Click on the Remediate button and follow the steps:
When the Remediate finish the upgrade is complete and VMware ESXi 5 is installed.
Steps of the interactive upgrade using the CD/DVD from ESX4 or ESXi 4 to ESXi 5
A existing VMFS volume is found and the following selections can be made:
In this example we migrate VMware ESX 4 to ESXi 5 and choose Migrate ESX, preserver VMFS datastore.
Scripted upgrade from ESX4 or ESXi 4 to ESXi 5
Scripted upgrade can be done by using a kickstart text file for example ks.cfg. In this file the following options can be used for the upgrade:
|upgrade||Upgrades to ESXi 5|
|installorupgrade||Tries to upgrade to ESXi5. If it is not possible to upgrade it will perform a fresh installation.|
William Lam has very good information and examples about ESXi 5 scripted installations. For more information see the posts How to Automate the Upgrade of Classic ESX 4.x to ESXi 5 and Automating ESXi 5.x Kickstart Tips & Tricks
9 thoughts on “Upgrading to VMware ESXi 5”
So migrating from ESX 4.0 ‘Classic’ to ESXi 5.0 lets you keep your local VMFS partition including all the machines? Moving from ESX 4.0 to ESXi 4.1 needed a complete re-install.
@stuart Correct. Make sure before the upgrade from ESX4 to ESXi 5 to make a back-up.
Nice one, this was very handy, have updated my lab to esxi5 now with this method… Thanks
Hello, I just installed this version ESXi 5.0.0, but my current VMs are on ESX 3. The converted to VMware Workstation, the question is whether the new version of VMware Converter I can move to my new ESXi 5.0.0 server using VMware Workstation as the source and destination VMware ESXi? Is this possible? Thanks, I await your answers.
Hello, you can use this tool
to convert from ESX 3.5 formate to ESXI 5 Formate
I have esxi 4.1 installed on a usb drive, can i upgrade to esxi 5? Can i just put the installer iso on a usb ( like i did with 4.1) and reboot?
Does that mean, that if we need to upgrade a ESX3.5 host to ESXi5, we can migrate all the machines to another ESX 3.5 host, wipe and load ESXi5 and then use the converted to migrate VMs from 3.5 to the new ESX 3.5i using the converter? Thanks
I mean use the converter to migrate VMs from ESX 3.5 to ESXi5? thanks
Sorry, one more question. Will there be a downtime on the VMs while migrating?