Upgrade NetApp Trident Software section
Added new section, fixed capitalization and added prerequisite. Fixed merge conflict. Fixed titles. Minor editorial fixes. Signed-off-by: Elisamara Aoki Goncalves <elisamaraaoki.goncalves@windriver.com> Change-Id: I301f4be40680ddd8843d7d69d1d9f9eab5e61dc1
This commit is contained in:
parent
63cb216c0c
commit
88318a7ce8
@ -3,11 +3,11 @@
|
|||||||
.. _configure-an-external-netapp-deployment-as-the-storage-backend:
|
.. _configure-an-external-netapp-deployment-as-the-storage-backend:
|
||||||
|
|
||||||
==============================================================
|
==============================================================
|
||||||
Configure an External Netapp Deployment as the Storage Backend
|
Configure an External NetApp Deployment as the Storage Backend
|
||||||
==============================================================
|
==============================================================
|
||||||
|
|
||||||
Configure an external Netapp Trident deployment as the storage backend, after
|
Configure an external NetApp deployment as the storage backend, after system
|
||||||
system installation using a |prod|-provided ansible playbook.
|
installation using a |prod|-provided ansible playbook.
|
||||||
|
|
||||||
.. rubric:: |prereq|
|
.. rubric:: |prereq|
|
||||||
|
|
||||||
@ -84,11 +84,11 @@ procedure.
|
|||||||
|
|
||||||
.. _configuring-an-external-netapp-deployment-as-the-storage-backend-mod-localhost:
|
.. _configuring-an-external-netapp-deployment-as-the-storage-backend-mod-localhost:
|
||||||
|
|
||||||
#. Configure Netapps configurable parameters and run the provided
|
#. Configure NetApps configurable parameters and run the provided
|
||||||
install_netapp_backend.yml ansible playbook to enable connectivity to
|
install_netapp_backend.yml ansible playbook to enable connectivity to
|
||||||
Netapp as a storage backend for |prod|.
|
NetApp as a storage backend for |prod|.
|
||||||
|
|
||||||
#. Provide Netapp backend configurable parameters in an overrides yaml
|
#. Provide NetApp backend configurable parameters in an overrides yaml
|
||||||
file.
|
file.
|
||||||
|
|
||||||
You can make changes-in-place to your existing localhost.yml file
|
You can make changes-in-place to your existing localhost.yml file
|
||||||
@ -207,15 +207,15 @@ procedure.
|
|||||||
<https://netapp-trident.readthedocs.io/en/stable-v20.04/kubernetes/operations/tasks/backends/ontap.html>`__.
|
<https://netapp-trident.readthedocs.io/en/stable-v20.04/kubernetes/operations/tasks/backends/ontap.html>`__.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
By default, Netapp is configured to have ``777`` as
|
By default, NetApp is configured to have ``777`` as
|
||||||
unixPermissions. |prod| recommends changing these settings to
|
unixPermissions. |prod| recommends changing these settings to
|
||||||
make it more secure, for example, ``"unixPermissions": "755"``.
|
make it more secure, for example, ``"unixPermissions": "755"``.
|
||||||
Ensure that the right permissions are used, and there is no
|
Ensure that the right permissions are used, and there is no
|
||||||
conflict with container security.
|
conflict with container security.
|
||||||
|
|
||||||
Do NOT use ``777`` as ``unixPermissions`` to configure an external
|
Do NOT use ``777`` as ``unixPermissions`` to configure an external
|
||||||
Netapp deployment as the Storage backend. For more information,
|
NetApp deployment as the Storage backend. For more information,
|
||||||
contact Netapp, at `https://www.netapp.com/
|
contact NetApp, at `https://www.netapp.com/
|
||||||
<https://www.netapp.com/>`__.
|
<https://www.netapp.com/>`__.
|
||||||
|
|
||||||
#. Run the playbook.
|
#. Run the playbook.
|
||||||
@ -225,7 +225,7 @@ procedure.
|
|||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
# ansible-playbook /usr/share/ansible/stx-ansible/playbooks/install_netapp_backend.yml -e "override_files_dir=</home/sysadmin/mynetappconfig>"
|
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/install_netapp_backend.yml -e "override_files_dir=</home/sysadmin/mynetappconfig>"
|
||||||
|
|
||||||
Upon successful launch, there will be one Trident pod running on
|
Upon successful launch, there will be one Trident pod running on
|
||||||
each node, plus an extra pod for the REST API running on one of the
|
each node, plus an extra pod for the REST API running on one of the
|
||||||
@ -245,7 +245,7 @@ procedure.
|
|||||||
|
|
||||||
.. rubric:: |postreq|
|
.. rubric:: |postreq|
|
||||||
|
|
||||||
To configure a persistent volume claim for the Netapp backend, add the
|
To configure a persistent volume claim for the NetApp backend, add the
|
||||||
appropriate storage-class name you set up in step :ref:`2
|
appropriate storage-class name you set up in step :ref:`2
|
||||||
<configure-an-external-netapp-deployment-as-the-storage-backend>`
|
<configure-an-external-netapp-deployment-as-the-storage-backend>`
|
||||||
\(``netapp-nas-backend`` in this example\) to the persistent volume
|
\(``netapp-nas-backend`` in this example\) to the persistent volume
|
||||||
@ -256,7 +256,7 @@ claim's yaml configuration file. For more information about this file, see
|
|||||||
.. _configure-netapps-using-a-private-docker-registry:
|
.. _configure-netapps-using-a-private-docker-registry:
|
||||||
|
|
||||||
-------------------------------------------------
|
-------------------------------------------------
|
||||||
Configure Netapps Using a Private Docker Registry
|
Configure NetApps Using a Private Docker Registry
|
||||||
-------------------------------------------------
|
-------------------------------------------------
|
||||||
|
|
||||||
Use the ``docker_registries`` parameter to pull from the local registry rather
|
Use the ``docker_registries`` parameter to pull from the local registry rather
|
||||||
|
@ -72,6 +72,7 @@ Storage Backends
|
|||||||
configure-the-internal-ceph-storage-backend
|
configure-the-internal-ceph-storage-backend
|
||||||
configure-an-external-netapp-deployment-as-the-storage-backend
|
configure-an-external-netapp-deployment-as-the-storage-backend
|
||||||
uninstall-the-netapp-backend
|
uninstall-the-netapp-backend
|
||||||
|
upgrade-the-netapp-trident-software-c5ec64d213d3
|
||||||
|
|
||||||
----------------
|
----------------
|
||||||
Controller Hosts
|
Controller Hosts
|
||||||
|
@ -7,7 +7,7 @@ Storage Backends
|
|||||||
================
|
================
|
||||||
|
|
||||||
|prod-long| supports an internal Ceph block storage backend and connecting
|
|prod-long| supports an internal Ceph block storage backend and connecting
|
||||||
to an external Netapp Trident block storage backend. Configuring a storage
|
to an external NetApp block storage backend. Configuring a storage
|
||||||
backend is optional, but it is required if the applications being hosted
|
backend is optional, but it is required if the applications being hosted
|
||||||
require persistent volume claims \(PVCs\).
|
require persistent volume claims \(PVCs\).
|
||||||
|
|
||||||
@ -82,13 +82,13 @@ For more information on Ceph storage backend provisioning, see
|
|||||||
.. _storage-backends-section-N10151-N10028-N10001:
|
.. _storage-backends-section-N10151-N10028-N10001:
|
||||||
|
|
||||||
-----------------------
|
-----------------------
|
||||||
External Netapp Trident
|
External NetApp Storage
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
|prod| can be configured to connect to and use an external Netapp Trident
|
|prod| can be configured to connect to and use an external NetApp storage
|
||||||
deployment as its storage backend.
|
deployment as its storage backend.
|
||||||
|
|
||||||
Netapp Trident supports:
|
NetApp Trident supports:
|
||||||
|
|
||||||
|
|
||||||
.. _storage-backends-d201e23:
|
.. _storage-backends-d201e23:
|
||||||
@ -116,7 +116,7 @@ For more information about Trident, see
|
|||||||
- :ref:`Configure the Internal Ceph Storage Backend
|
- :ref:`Configure the Internal Ceph Storage Backend
|
||||||
<configure-the-internal-ceph-storage-backend>`
|
<configure-the-internal-ceph-storage-backend>`
|
||||||
|
|
||||||
- :ref:`Configure an External Netapp Deployment as the Storage Backend
|
- :ref:`Configure an External NetApp Deployment as the Storage Backend
|
||||||
<configure-an-external-netapp-deployment-as-the-storage-backend>`
|
<configure-an-external-netapp-deployment-as-the-storage-backend>`
|
||||||
|
|
||||||
- :ref:`Uninstall the Netapp Backend <uninstall-the-netapp-backend>`
|
- :ref:`Uninstall the NetApp Trident Software <uninstall-the-netapp-backend>`
|
||||||
|
@ -106,13 +106,13 @@ Storage systems.
|
|||||||
.. _storage-configuration-storage-resources-section-N1015E-N10031-N1000F-N10001:
|
.. _storage-configuration-storage-resources-section-N1015E-N10031-N1000F-N10001:
|
||||||
|
|
||||||
-----------------------
|
-----------------------
|
||||||
External Netapp Trident
|
External NetApp Storage
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
|prod| can be configured to connect to and use an external Netapp Trident
|
|prod| can be configured to connect to and use an external NetApp storage
|
||||||
deployment as its storage backend.
|
deployment as its storage backend.
|
||||||
|
|
||||||
Netapp Trident supports:
|
NetApp Trident supports:
|
||||||
|
|
||||||
|
|
||||||
.. _storage-configuration-storage-resources-d201e23:
|
.. _storage-configuration-storage-resources-d201e23:
|
||||||
|
@ -2,17 +2,18 @@
|
|||||||
.. vba1584558499981
|
.. vba1584558499981
|
||||||
.. _uninstall-the-netapp-backend:
|
.. _uninstall-the-netapp-backend:
|
||||||
|
|
||||||
============================
|
=====================================
|
||||||
Uninstall the Netapp Backend
|
Uninstall the NetApp Trident Software
|
||||||
============================
|
=====================================
|
||||||
|
|
||||||
Uninstalling the Netapp backend is done using the :command:`tridentctl` command.
|
Uninstalling the NetApp Trident Software is done using the
|
||||||
|
:command:`tridentctl` command.
|
||||||
|
|
||||||
Run the following command.
|
Run the following command.
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
# tridentctl -n <tridentNamespace> uninstall
|
tridentctl -n <tridentNamespace> uninstall
|
||||||
|
|
||||||
Pods and resources created during installation are deleted.
|
Pods and resources created during installation are deleted.
|
||||||
|
|
||||||
|
@ -0,0 +1,52 @@
|
|||||||
|
.. _upgrade-the-netapp-trident-software-c5ec64d213d3:
|
||||||
|
|
||||||
|
===================================
|
||||||
|
Upgrade the NetApp Trident Software
|
||||||
|
===================================
|
||||||
|
|
||||||
|
.. rubric:: |context|
|
||||||
|
|
||||||
|
|prod| |prod-ver| contains the installer for Trident 21.04, but installations
|
||||||
|
that have been upgraded from the previous |prod| version and were configured
|
||||||
|
to use a NetApp backend will still be running Trident 20.04 after the upgrade
|
||||||
|
to |prod| |prod-ver|.
|
||||||
|
|
||||||
|
.. code-block:: none
|
||||||
|
|
||||||
|
[sysadmin@controller-0 trident(keystone_admin)]$ tridentctl -n trident version
|
||||||
|
+----------------+----------------+
|
||||||
|
| SERVER VERSION | CLIENT VERSION |
|
||||||
|
+----------------+----------------+
|
||||||
|
| 20.04.0 | 21.04.1 |
|
||||||
|
+----------------+----------------+
|
||||||
|
|
||||||
|
.. rubric:: |proc|
|
||||||
|
|
||||||
|
Before upgrading Kubernetes to version 1.19, the running version of Trident
|
||||||
|
must be updated to 21.04. This will not disrupt any containers that are already
|
||||||
|
running, but will cause a brief outage to the NetApp Trident control plane.
|
||||||
|
|
||||||
|
The steps are as follows:
|
||||||
|
|
||||||
|
#. Locate the ``localhost.yaml`` file that was used originally to install
|
||||||
|
Trident, as described in :ref:`Configure an External NetApp Deployment as
|
||||||
|
the Storage Backend
|
||||||
|
<configure-an-external-netapp-deployment-as-the-storage-backend>`.
|
||||||
|
|
||||||
|
#. Add the line ``trident_force_reinstall: true`` to the file.
|
||||||
|
|
||||||
|
#. Run the ``install_netapp_backend.yml`` playbook again as per Run Playbook
|
||||||
|
step of section :ref:`Configure an External NetApp Deployment as the
|
||||||
|
Storage Backend
|
||||||
|
<configure-an-external-netapp-deployment-as-the-storage-backend>`.
|
||||||
|
|
||||||
|
#. On completion, verify that the Trident server version has been updated:
|
||||||
|
|
||||||
|
.. code-block:: none
|
||||||
|
|
||||||
|
[sysadmin@controller-0 trident(keystone_admin)]$ tridentctl -n trident version
|
||||||
|
+----------------+----------------+
|
||||||
|
| SERVER VERSION | CLIENT VERSION |
|
||||||
|
+----------------+----------------+
|
||||||
|
| 21.04.1 | 21.04.1 |
|
||||||
|
+----------------+----------------+
|
@ -46,6 +46,13 @@ meets the following conditions:
|
|||||||
openstack-compute \(worker\) capacity to move instances off the
|
openstack-compute \(worker\) capacity to move instances off the
|
||||||
openstack-compute \(worker\) host\(s\) being upgraded.
|
openstack-compute \(worker\) host\(s\) being upgraded.
|
||||||
|
|
||||||
|
- If you are using NetApp Trident in |prod| |prod-ver| and have upgraded from
|
||||||
|
the |prod| previous version, ensure that your NetApp backend version is
|
||||||
|
compatible with Trident 21.04 and follow the steps in :ref:`Upgrade the
|
||||||
|
NetApp Trident Software <upgrade-the-netapp-trident-software-c5ec64d213d3>`
|
||||||
|
to upgrade the Trident drivers to 21.04 before upgrading Kubernetes to
|
||||||
|
version 1.19.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
Administrative controller ``swact`` operations should be avoided during
|
Administrative controller ``swact`` operations should be avoided during
|
||||||
Kubernetes version upgrade orchestration.
|
Kubernetes version upgrade orchestration.
|
||||||
|
@ -43,9 +43,12 @@ and upgrade various systems.
|
|||||||
- All updates required for the new Kubernetes version must be transferred to
|
- All updates required for the new Kubernetes version must be transferred to
|
||||||
the active controller.
|
the active controller.
|
||||||
|
|
||||||
- If you are using NetApp Trident, ensure that your NetApp version is
|
- If you are using NetApp Trident in |prod| |prod-ver| and have upgraded from
|
||||||
compatible with Trident 21.04 before upgrading Kubernetes to version 1.19
|
the |prod| previous version, ensure that your NetApp backend version is
|
||||||
and after updating |prod| to version |prod-ver|.
|
compatible with Trident 21.04 and follow the steps in :ref:`Upgrade the
|
||||||
|
NetApp Trident Software <upgrade-the-netapp-trident-software-c5ec64d213d3>`
|
||||||
|
to upgrade the Trident drivers to 21.04 before upgrading Kubernetes to
|
||||||
|
version 1.19.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
The default version on a fresh install will be Kubernetes 1.21.3, while
|
The default version on a fresh install will be Kubernetes 1.21.3, while
|
||||||
|
Loading…
Reference in New Issue
Block a user