doc: split the upgrade-image file to separate files for Open Source and Enterprise

(cherry picked from commit 42224dd129)
This commit is contained in:
Anna Stuchlik
2022-09-08 15:13:44 +02:00
parent 9a6c0a89a0
commit c73d59c1cb
4 changed files with 42 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
To upgrade:
**To upgrade ScyllaDB:**
#. Update the |APT|_ to **2022.x**.
#. Install:

View File

@@ -1,5 +1,3 @@
.. _upgrade-guide-regular-procedure:
**To upgrade ScyllaDB:**
#. Update the |APT|_ to **2022.1** and enable scylla/ppa repo.

View File

@@ -0,0 +1,36 @@
There are two alternative upgrade procedures:
* :ref:`Upgrading ScyllaDB and simultaneously updating 3rd party and OS packages <upgrade-image-recommended-procedure>`. It is recommended if you are running a ScyllaDB official image (EC2 AMI, GCP, and Azure images), which is based on Ubuntu 20.04.
* :ref:`Upgrading ScyllaDB without updating any external packages <upgrade-image-enterprise-upgrade-guide-regular-procedure>`.
.. _upgrade-image-recommended-procedure:
**To upgrade ScyllaDB and update 3rd party and OS packages (RECOMMENDED):**
.. versionadded:: 2021.1.10
Choosing this upgrade procedure allows you to upgrade your ScyllaDB version and update the 3rd party and OS packages using one command.
#. Update the |SCYLLA_REPO|_ to |NEW_VERSION|.
#. Run the following command to update the manifest file:
.. code:: sh
cat scylla-enterprise-packages-<version>-<arch>.txt | sudo xargs -n1 apt-get -y
Where:
* ``<version>`` - The ScyllaDB version to which you are upgrading ( |NEW_VERSION| ).
* ``<arch>`` - Architecture type: ``x86_64`` or ``aarch64``.
The file is included in the ScyllaDB packages downloaded in the previous step. The file location is ScyllaDB Enterprise: ``http://downloads.scylladb.com/downloads/scylla-enterprise/aws/manifest/scylla-enterprise-packages-<version>-<arch>.txt``.
Example:
.. code:: sh
cat scylla-enterprise-packages-2022.1.10-x86_64.txt | sudo xargs -n1 apt-get -y
.. _upgrade-image-enterprise-upgrade-guide-regular-procedure:

View File

@@ -2,14 +2,13 @@ There are two alternative upgrade procedures:
* :ref:`Upgrading ScyllaDB and simultaneously updating 3rd party and OS packages <upgrade-image-recommended-procedure>`. It is recommended if you are running a ScyllaDB official image (EC2 AMI, GCP, and Azure images), which is based on Ubuntu 20.04.
* :ref:`Upgrading ScyllaDB without updating any external packages<upgrade-guide-regular-procedure>`.
* :ref:`Upgrading ScyllaDB without updating any external packages <upgrade-image-upgrade-guide-regular-procedure>`.
.. _upgrade-image-recommended-procedure:
**To upgrade ScyllaDB and update 3rd party and OS packages (RECOMMENDED):**
.. versionadded:: ScyllaDB 5.0
.. versionadded:: ScyllaDB Enterprise 2021.1.10
.. versionadded:: 5.0
Choosing this upgrade procedure allows you to upgrade your ScyllaDB version and update the 3rd party and OS packages using one command.
@@ -26,13 +25,12 @@ Choosing this upgrade procedure allows you to upgrade your ScyllaDB version and
* ``<version>`` - The ScyllaDB version to which you are upgrading ( |NEW_VERSION| ).
* ``<arch>`` - Architecture type: ``x86_64`` or ``aarch64``.
The file is included in the ScyllaDB packages downloaded in the previous step. The file location is:
* ScyllaDB Enterprise: ``http://downloads.scylladb.com/downloads/scylla-enterprise/aws/manifest/scylla-packages-<version>-<arch>.txt``
* ScyllaDB Open Source: ``http://downloads.scylladb.com/downloads/scylla/aws/manifest/scylla-packages-<version>-<arch>.txt``
The file is included in the ScyllaDB packages downloaded in the previous step. The file location is ScyllaDB Open Source: ``http://downloads.scylladb.com/downloads/scylla/aws/manifest/scylla-packages-<version>-<arch>.txt``
Example:
.. code:: sh
cat scylla-packages-5.1.2-x86_64.txt | sudo xargs -n1 apt-get -y
.. _upgrade-image-upgrade-guide-regular-procedure: