第5章 Executing the restore procedure
If an error occurs during an update or upgrade, you can restore either the undercloud or overcloud control plane nodes or both so that they assume their previous state.
Use the following general steps:
- Burn the bootable ISO image to a DVD or load it through ILO remote access.
- Boot the node that requires restoration from the recovery medium.
-
Select Recover <hostname>, where
<hostname>
is the name of the node to restore. -
Log in as user
root
. - Recover the backup.
5.1. Restoring the undercloud
If an error occurs during a fast-forward upgrade, you can restore the undercloud node to its previously saved state using the ISO image created using the 「Backing up the undercloud」 procedure. The backup procedure stores the ISO images on the backup node in the folders created during the 「Creating and exporting the backup directory」 step.
Procedure
- Shutdown the undercloud node. Ensure that the undercloud node is shutdown completely before you proceed.
-
Restore the undercloud node by booting it with the ISO image created during the backup process. The ISO image is located under the
/ctl_plane_backups
directory of the Backup node. - When the Relax-and-Recover boot menu appears, select Recover <Undercloud Node> where <Undercloud Node> is the name of the undercloud node.
Log in as user
root
.The following message displays:
Welcome to Relax-and-Recover. Run "rear recover" to restore your system! RESCUE <Undercloud Node>:~ # rear recover
The image restore progresses quickly. When it is complete, the console echoes the following message:
Finished recovering your system Exiting rear recover Running exit tasks
When the command line interface is available, the image is restored. Switch the node off.
RESCUE <Undercloud Node>:~ # poweroff
On boot up, the node resumes with its previous state.