![]() When the restore completes, the console echoes the following message: Run "rear recover" to restore your system! Replace with the name of the control plane node. When the Relax-and-Recover boot menu appears, select Recover. The ISO images are located under the /ctl_plane_backups directory of the Backup node. Restore the control plane nodes by booting them with the ISO image that you created during the backup process. Ensure that the control plane nodes are shut down completely before you proceed. To back up the control plane, run the control plane backup on each control plane ~]# sudo rear -d -v mkbackup Optional: If you use the ceph services ceph-mds and ceph-rgw, stop these ~]# sudo systemctl stop ~]# sudo systemctl stop -s) Optional: If you use ganesha-nfs, disable the file server on one ~]# sudo pcs resource disable ceph-nfs Stop the ~]# sudo docker stop $(sudo docker ps -a -q) You can find the backup ISO file that you create with ReaR on the backup node under the /ctl_plane_backups directory. Stop the mariadb database stack]# systemctl stop mariadb ![]() Locate the database stack]# PASSWORD=$(sudo /bin/hiera -c /etc/puppet/hiera.yaml mysql::server::root_password)īack up the stack]# mysql -uroot -p$PASSWORD -s -N -e "select distinct table_schema from information_schema.tables where engine='innodb' and table_schema != 'mysql' " | xargs mysqldump -uroot -p$PASSWORD -single-transaction -databases > openstack-backup-mysql.sql stack]# mysql -uroot -p$PASSWORD -s -N -e "SELECT CONCAT('\"SHOW GRANTS FOR FROM er where (length(user) > 0 and user NOT LIKE 'root')" | xargs -n1 mysql -uroot -p$PASSWORD -s -N -e | sed 's/$/ /' > openstack-backup-mysql-grants.sql Restoring the undercloud and control plane nodes with colocated Ceph monitors Executing the restore procedure"Ĭollapse section "5. Performing prerequisite tasks before backing up the undercloudĮxpand section "5. Executing the back up procedure"Ĭollapse section "4. Creating the ReaR configuration filesĮxpand section "4. Installing and configuring Relax and Recover (ReaR)"ģ.2. Installing and configuring Relax and Recover (ReaR)"Ĭollapse section "3. Installing and configuring Relax and Recover (ReaR)Įxpand section "3. Creating and exporting the backup directoryģ. Prepare the Backup Node"Ĭollapse section "2. Introduction to undercloud and control plane back up and restore"Įxpand section "2. Introduction to undercloud and control plane back up and restore"Ĭollapse section "1. Introduction to undercloud and control plane back up and restoreĮxpand section "1. Undercloud and Control Plane Back Up and Restoreġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |