You are on page 1of 5

3/8/2018 How to Downgrade/Roll Back ESXi 6.

5 - VirtuBytes

VIRTUBYTES
Bytes Of Virtualization With Bits Of Other Technology.
(http://www.virtubytes.com/)

HOW TO DOWNGRADE/ROLL BACK ESXI


6.5
 N o v e m b e r 1 6 , 2 0 1 7 ( H t t p : // W w w .V i r t u b y t e s . C o m / 2 0 1 7 / 1 1 / 1 6 / D o w n g r a d e -
E s x i - 6 - 5 / )  V i r t u a d m i n ( H t t p : // W w w .V i r t u b y t e s . C o m /A u t h o r / V i r t u a d m i n / )

Occasionally, an issue or bug will require admins to revert to a previous build or version of ESXi. In the event you
patch your hosts (as opposed to fresh installs), it is possible to rollback to a prior installed version via the GUI.
Rollbacks should not be taken lightly. If you are reverting in a production environment, discuss options with
support first.

A few housekeeping items before we jump into the rollback process.

Compatibility – If you are leveraging new features introduced in vSphere 6.5, ensure you check compatibility
against vSphere 6.0. Two main features to be cognizant of when reverting from 6.5 to 6.0 are VMFS and virtual
machine hardware versions.

VMFS 6: VMFS 6 was introduced with vSphere 6.5. However, vSphere 6.0 utilized VMFS 5. If you created a
VMFS 6 (https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.storage.doc/GUID-
7552DAD4-1809-4687-B46E-ED9BB42CE277.html?src=af_5acfd7719690b&cid=70134000001YR9C) version
with ESXi 6.5, you will not be able to access the datastore a er rollback.
VM Hardware Version: vSphere 6.5 also introduced version 13 virtual machine hardware. Version 13
hardware is not compatible with ESXi 6.0. Version 11 or lower is compatible
(https://kb.vmware.com/kb/2007240?src=af_5acfd7719690b&cid=70134000001YR9C).  However, there are
a few supported options (http://www.virtubytes.com/2017/11/29/downgrade-vmware-vm-hardware-
version/) for downgrading virtual machine hardware versions.

Back Up Host Configuration – Before making any changes, back up (https://kb.vmware.com/kb/2042141?


src=af_5acfd7719690b&cid=70134000001YR9C) the ESXi Configuration.

Downgrade ESXi 6.5 to 6.0


To begin put the host into maintenance mode, ensuring VMs are powered o or migrated away from the host.

http://www.virtubytes.com/2017/11/16/downgrade-esxi-6-5/ 1/5
3/8/2018 How to Downgrade/Roll Back ESXi 6.5 - VirtuBytes

(http://www.virtubytes.com/wp-

content/uploads/2017/11/Enter_Maintenance_Mode.gif)

Next, open a console to the ESXi host. From the DCUI screen, hit F12 to select shutdown options.

(http://www.virtubytes.com/wp-content/uploads/2017/11/DCUI.gif)

From the Shut Down/Restart screen, hit F11 to restart the host.

http://www.virtubytes.com/2017/11/16/downgrade-esxi-6-5/ 2/5
3/8/2018 How to Downgrade/Roll Back ESXi 6.5 - VirtuBytes

(http://www.virtubytes.com/wp-content/uploads/2017/11/Restart_ESXi.gif)

Once ESXi begins to load, hit Shi +R to access Recovery Mode.

(http://www.virtubytes.com/wp-content/uploads/2017/11/Recovery_Mode.gif)

Select Y to roll back. This is a permanent endeavor. Meaning, once you have rolled back, you will no longer have
the option to boot into the newer version.

(http://www.virtubytes.com/wp-content/uploads/2017/11/Hypervisor_Recovery.gif)

http://www.virtubytes.com/2017/11/16/downgrade-esxi-6-5/ 3/5
3/8/2018 How to Downgrade/Roll Back ESXi 6.5 - VirtuBytes

ESXi will now revert to the previous version. Once ESXi has rolled-back and booted, verify the correct version has
loaded.

(http://www.virtubytes.com/wp-content/uploads/2017/11/Recovery_6.gif)

Navigate back to vCenter. If the host did not re-connect, manually Connect the host.

(http://www.virtubytes.com/wp-

content/uploads/2017/11/Connect_Host.gif)

Lastly, Exit Maintenance Mode.

(http://www.virtubytes.com/wp-content/uploads/2017/11/Exit_Maintenance_Mode.gif)

VMware KB – Revert ESXi to a  Previous Version (https://kb.vmware.com/kb/1033604?


src=af_5acfd7719690b&cid=70134000001YR9C)

Closing Thoughts – If you can’t restart the host to check Recovery Mode for a previous version, you can check the
boot banks for additional builds.

Check for ESXi Rollback Version via SSH


SSH (http://www.virtubytes.com/2017/04/21/enable-ssh-vmware-esxi-6-5/) to the host in question and run the
command to check to primary and secondary boot bank.

tail -2 /*bootbank/boot.cfg

http://www.virtubytes.com/2017/11/16/downgrade-esxi-6-5/ 4/5
3/8/2018 How to Downgrade/Roll Back ESXi 6.5 - VirtuBytes

(http://www.virtubytes.com/wp-content/uploads/2017/11/Bootbank_CFG.gif)

As we can see here, the primary boot bank contains ESXi 6.5 code and the alternate boot bank contains ESXi 6.0
code.

Related Posts

Host Fails with Purple Screen of Death (PSOD) A er Upgrade to ESXi 6.5
(https://kb.vmware.com/kb/2151749)
Online Upgrade to ESXi 6.5 Using ESXCLi (http://www.virtubytes.com/2017/07/10/online-upgrade-esxi-6-5-
using-esxcli/)
Patch Drivers on ESXi Hosts – VMware Update Manager (http://www.virtubytes.com/2017/04/24/patch-hp-
drivers-esxi-vum/)

 VMware (Http://Www.Virtubytes.Com/Category/Vmware/)
 Downgrade (Http://Www.Virtubytes.Com/Tag/Downgrade/), ESXi (Http://Www.Virtubytes.Com/Tag/Esxi/),
PSOD (Http://Www.Virtubytes.Com/Tag/Psod/), Tutorial (Http://Www.Virtubytes.Com/Tag/Tutorial/), VMware
(Http://Www.Virtubytes.Com/Tag/Vmware/)

Comments are closed.

http://www.virtubytes.com/2017/11/16/downgrade-esxi-6-5/ 5/5

You might also like