What is VMware ESXi recovery mode
When booting the VMware ESXi host, you will see a < Shift+R: Recovery mode > prompt in the bottom right corner of the Loading VMware ESXi screen. Do you know what this feature does?
VMware ESXi recovery mode is used to roll back an ESXi host. Once you encounter any problems after an ESXi upgrade, for example, ESXi upgrade 6.7 to 7.0, you can roll back the ESXi host to a previous version through ESXi host recovery mode.
However, this feature is not perfect and you still need to use it with caution. In this article I will introduce how to boot into VMware ESXi recovery mode and roll back the host.
When to use VMware ESXi recovery mode
As I mentioned, VMware hypervisor recovery mode is used to roll back the ESXi host to a previous version. So to figure out when to use VMware ESXi recovery mode, first you need to figure out when is it necessary to downgrade a VMware ESXi host?
Actually, there are only a few cases where you may need to downgrade your ESXi host back to a stable version. For example:
- some of your services or software are not compatible with the new version
- you are working on some tests that requires an older build
- you encountered some errors during the update
- it's easier for you to roll back ESXi version than to reconfigure an ESXi host
However, this feature isn’t perfect and you may still run into some issues after downgrading, for example, losing important host configurations. Therefore, please make sure you know what will happen after ESXi boot recovery mode, and be prepared for it.
Prepare for VMware ESXi host downgrade
✦ Verify installed versions: VMware ESXi recovery mode can only downgrade ESXi host to an installed previous version, not any random previous version. Therefore, before you start, you have to make sure that you have a previous version installed, or you will just get a “No alternative hypervisor” alert.
You can run the following command to verify the installed versions:
tail -2 /*bootbank/boot.cfg
✦ Check the compatibility: Every update brings changes or new features. Therefore, it is important to check the compatibility in advance. Do not upgrade to a new version until you are sure that it is stable enough and can be used normally.
✦ Backup ESXi host configuration: If you don’t want to reconfigure your ESXi host, it is still necessary to back up VMware ESXi host configuration to avoid loss or increase efficiency.
✦ Backup and power off VMs, or migrate them to another host: VMs contain many important business data. Therefore, to avoid unexpected losses, please backup all VMware ESXi VMs, or migrate all VMs to another secure host before performing a downgrade.
How to roll back VMware ESXi host in recovery mode
1. Power on the VMware ESXi host. Press Shift+R before the loading bar completes.
2. Now you can see the installed hypervisor versions, and a warning below. Press Y to roll back to the previous version.
3. Press Enter to boot, or wait for the automatic boot countdown.
4. Wait for the process. When it finishes, you can see that the host has reverted to the previous version.
Important: Backup your VMware ESXi VMs to protect data
The release of a new version is always accompanied by many compatibility issues or problems with the replacement of old versions. Therefore, many enterprises choose to update from an older version after a new version is stable enough.
However, if you have already updated to a new version and are experiencing some of the issues, VMware provides such a rollback feature of VMware ESXi recovery mode. In this article, I introduced what is VMware ESXi recovery mode, when and how to use it and what to prepare in advance.
In fact, no matter how you toss your host or VMs, backups are always your reliable insurance, especially when you want to perform such risky operations.
Therefore, I would like to recommend you a professional and free VMware backup tool AOMEI Cyber Backup that can back up all VMs on a cluster in 3 easy steps. It has the following benefits in practice:
✦ Multiple VMs Backup: with 3 easy steps you can create a complete backup task of multiple VMs on the cluster.
✦ Backup Schedule: create a schedule flexibly to back up virtual machines daily, weekly or monthly.
✦ Restore from Any Point: quickly restore the entire VM from any history restore point.
✦ Clear Log Monitor: clearly recording all operations made to the VMs with separate error logs for easy reference and troubleshooting.
You can click the button to download and use this perpetual free edition:
*You can choose to install this VM backup software on either Windows or Linux system.
If you updated to a new version and are experiencing some compatibility issues or older build requirements, VMware provides such a rollback feature of VMware ESXi recovery mode. In this article, I introduced what is ESXi host recovery mode, when and how to perform VMware hypervisor recovery and what to prepare in advance.
Before you perform risky operations like downgrading the host, backup is necessary to avoid unanticipated data loss. On this issue, compare to native VMware backup solutions, some dedicated backup tools may help you better and increase your work efficiency.