Add the missing documentation for mariadb recovery

This change is a missing part for the new Kayobe functionality
introduced in Ie16354cd01ea7dd83cd3d4058dd8451b8387600b.

Change-Id: Ia3d665d53ccdb9e3b1d40949e96b720fab6df348
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
This commit is contained in:
Maksim Malchuk 2021-10-13 11:15:33 +03:00 committed by Pierre Riteau
parent 0ff94df353
commit 8710a7766e

View File

@ -250,6 +250,27 @@ Further information on backing up and restoring the database is available in
the :kolla-ansible-doc:`Kolla Ansible documentation
<admin/mariadb-backup-and-restore.html>`.
Performing Database Recovery
============================
Recover a completely stopped MariaDB cluster using the underlying support in
Kolla Ansible.
To perform recovery run the following command:
.. code-block:: console
kayobe overcloud database recover
Or to perform recovery on specified host, run the following command:
.. code-block:: console
kayobe overcloud database recover --force-recovery-host <host>
By default the underlying kolla-ansible will automatically determine which
host to use, and this option should not be used.
Gathering Facts
===============