第4章 Executing the backup procedure
Before you perform a fast forward upgrade, back up the undercloud and the overcloud control plane nodes so that you can restore them to their previous state if an error occurs.
Before you back up the undercloud and overcloud, ensure that you do not perform any operations on the overcloud from the undercloud.
4.1. Performing prerequisite tasks before backing up the undercloud
Do not perform an undercloud backup when you deploy the undercloud or when you make changes to an existing undercloud. To prevent data corruptions, confirm that there are no stack failures, ongoing tasks, and that all OpenStack services except for mariadb
are stopped before you back up the undercloud node.
Procedure
List failures for all available stacks:
(undercloud) [stack@undercloud-0 ~]$ source stackrc && for i in `openstack stack list -c 'Stack Name' -f value`; do openstack stack failures list $i; done
Verify that there are no ongoing tasks in the cloud:
(undercloud) [stack@undercloud-0 ~]$ openstack stack list --nested | grep -v "_COMPLETE"
If the command returns no results, there are no ongoing tasks.
Stop all OpenStack services in the cloud:
# systemctl stop tripleo_*
Start the
tripleo_mysql
service:# systemctl start tripleo_mysql
Verify that the
tripleo_mysql
service is running:# systemctl status tripleo_mysql