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, you can roll back the ESXi host to a previous version through VMware ESXi 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 roll back a host in VMware ESXi recovery mode.
When to use ESXi recovery mode
As I mentioned, VMware ESXi hypervisor recovery mode is used to roll back the ESXi host to a previous version. So to figure out when to use 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 afterwards, 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 backup tool that can back up all VMs on a cluster in 3 easy steps, namely AOMEI Cyber Backup. In addition, it has the following benefits:
✦ Multiple VMs Backup: with 3 easy steps you can create a complete automatic backup task of multiple, or even all VMs on the cluster.
✦ Auto Deletion Scheme: cleaning old backup files that exceed the specified retention period.
✦ Offsite Restore: capable of restoring backups to new VMs on original or another datastore, host/cluster.
✦ Clear Log Monitor: clearly recording all operations made to the VMs with separate error logs for easy reference and troubleshooting.
You can click the following button to start a free trial:
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 VMware ESXi recovery mode, when and how to use it 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.