2020-05-25 21:44:12 +08:00
|
|
|
Upgrading the ceph cluster
|
2020-07-03 15:14:13 +08:00
|
|
|
--------------------------
|
2020-05-25 21:44:12 +08:00
|
|
|
|
|
|
|
ceph-ansible provides a playbook in ``infrastructure-playbooks`` for upgrading a Ceph cluster: ``rolling_update.yml``.
|
|
|
|
|
2021-03-11 00:53:45 +08:00
|
|
|
This playbook could be used for both minor upgrades (X.Y to X.Z) or major upgrades (X to Y).
|
2020-05-25 21:44:12 +08:00
|
|
|
|
|
|
|
Before running a major upgrade you need to update the ceph-ansible version first.
|
|
|
|
|
|
|
|
example:
|
|
|
|
|
|
|
|
.. code-block:: shell
|
|
|
|
|
|
|
|
$ ansible-playbook -vv -i hosts infrastructure-playbooks/rolling_update.yml
|
|
|
|
|
|
|
|
.. note::
|
2021-03-11 00:53:45 +08:00
|
|
|
This playbook isn't intended to be run with the ``--limit`` ansible option.
|